Click or drag to resize
Ab4d.SharpEngine logo

SphericalCamera Class

SphericalCamera is a base abstract class for all cameras that defined Heading, Attitude and Bank properties.
Inheritance Hierarchy

Namespace: Ab4d.SharpEngine.Cameras
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public abstract class SphericalCamera : Camera, 
	ISphericalCamera, ICamera

The SphericalCamera type exposes the following members.

Constructors
 NameDescription
Protected methodSphericalCamera Constructor
Top
Properties
 NameDescription
Public propertyAttitude Attitude angle (rotation around horizontal axis) in degrees.
Public propertyBank Bank angle (rotation around look direction vector) in degrees.
Public propertyHeading Heading angle (rotation around up axis) in degrees.
Top
Methods
 NameDescription
Public methodGetNormalizedAttitude Returns a double that is a Attitude value normalized so that it is always in interval between 0 and 360 degrees (or between -180 to 180 when normalizeTo180Degrees is true).
Public methodGetNormalizedBank Returns a double that is a Bank value normalized so that it is always in interval between 0 and 360 degrees (or between -180 to 180 when normalizeTo180Degrees is true).
Public methodGetNormalizedHeading Returns a double that is a Heading value normalized so that it is always in interval between 0 and 360 degrees (or between -180 to 180 when normalizeTo180Degrees is true).
Public methodNormalizeAngles NormalizeAngles normalizes the Heading, Attitude and Bank angles so that their values are between 0 and 360 (for example converting 390 into 30). When normalizeTo180Degrees parameter is true (false by default), the value is returned in range from -180 to 180 instead of 0 to 360.
Public methodRotateCamera Rotates the camera for the specified heading and attitude
(Overrides CameraRotateCamera(Single, Single))
Top
See Also