Click or drag to resize

Camera Properties

The Camera type exposes the following members.

Properties
  NameDescription
Public propertyAllowRotationOverConstrainedUpAxis
Gets or sets whether the camera can rotate over the constrained up axis. For example, if true the camera would be able to flip over the North Pole and view the globe upside down.
Public propertyAxes
Gets or sets camera's axes of rotation.
Public propertyConstrainedUpAxis
Gets or sets the axis to constrain the up vector to.
Public propertyDirection
Gets or sets the direction of the camera in Axes.
Public propertyDistance
Gets or sets the distance the camera position is from the reference point.
Public propertyDistancePerRadius
Returns the distance that the Camera's Position should be from the ReferencePoint in order to ensure that a sphere with a 1 meter radius centered at the ReferencePoint fits entirely in the view frustum.
Public propertyFarNearPlaneRatio
Gets or sets the value that is used to compute subdivisions of the viewing frustum. A large value will be faster but lose z-value precision. A small value will have better precision but perform slower. The default value of 1000 achieves a good balance between speed and accuracy.
Public propertyFarPlane
Gets or sets the distance in meters from the camera to the far plane.
Public propertyFieldOfView
Gets or sets field of view in radians. The field of view is applied to the larger of the window dimensions. For example, if the window width was 640 and the height was 480, the field of view applies to the horizontal. Use HorizontalFieldOfView and VerticalFieldOfView to get the horizontal and vertical field of views. Wide fields of views generally show more objects but can look distorted as compared to narrower ones.
Public propertyHorizontalFieldOfView
Gets the horizontal field of view in radians.
Public propertyLockViewDirection
Gets or sets whether the camera's direction is locked.
Public propertyNearPlane
Gets or sets the distance in meters from the camera to the near plane.
Public propertyPixelSizePerDistance
Gets the approximate number of meters covered by a pixel that is 1 meter away from the camera. This is commonly multiplied by the distance from the camera to an object to compute the approximate number of meters covered by a pixel of the object.
Public propertyPosition
Gets or sets the position of the camera.
Public propertyPositionReferenceFrame
Gets the ReferenceFrame that the Position is returned in. This ReferenceFrame is composed of the camera's from Point and the Axes.
Public propertyReferencePoint
Gets or sets the reference point of the camera.
Public propertyReferencePointReferenceFrame
Gets the ReferenceFrame that the ReferencePoint is returned in. This ReferenceFrame is composed of the camera's to Point and the Axes.
Public propertySnapshot
Gets the camera snapshot settings.
Public propertyUpVector
Gets or sets the up direction of the camera in Axes.
Public propertyVerticalFieldOfView
Gets the vertical field of view in radians.
Public propertyVideoRecording
Gets the camera video recorder.
Top
See Also