Spherical |
The SphericalCamera type exposes the following members.
Name | Description | |
---|---|---|
BaseCreateFrom |
This method is called from CreateFrom method and actually sets the properties on this camera.
(Overrides BaseCameraBaseCreateFrom(Camera)) | |
ForceRefresh |
Forces a refresh of the camera.
(Overrides BaseCameraForceRefresh) | |
GetNormalizedAttitude | 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). | |
GetNormalizedBank | 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). | |
GetNormalizedHeading | 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). | |
IsValid |
Gets a Boolean that specifies if the camera is valid (has TargetViewport3D that has a valid size; has valid values for all properties).
When camera is valid the Point3DTo2D(Point3D) returns correct value; when the camera is not valid, the Point3DTo2D method cannot calculate the 2D screen position.
(Overrides BaseCameraIsValid(Boolean)) | |
NormalizeAngles | 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. | |
RotateCamera |
Rotates the camera for the specified heading and attitude
(Overrides BaseCameraRotateCamera(Double, Double)) | |
RotateFor | Animates the camera rotation with changing the Camera's Heading and Attitude for the specified amount. The animation takes animationDurationInMilliseconds and uses easingFunction. | |
RotateTo | Animates the camera rotation to the targetHeading and targetAttitude. The animation takes animationDurationInMilliseconds and uses easingFunction. By default (when useShortestPath is true), the animation uses the shortest path to get to the target heading and attitude. | |
SetCameraLookDirection | Updates the LookDirection and UpDirection based on the current Heading, Attitude and Bank values | |
UpdateCamera |
Updates the ProjectionCamera
(Overrides BaseCameraUpdateCamera(ProjectionCamera)) |