CameraOrthoCameraDistance Property

Get/Set the absolute distance from the camera to the subject.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2613.4238
C#
public float CameraDistance { get; set; }

Property Value

Single

Remarks

This value is ignored except when externally setting the Rotation property while the RotationMode property is EulerRotation, and should be set prior to adjusting Rotation.

The value can be prepared automatically for a scene by setting the LookAt property first, which results in a practical value for this property. Afterward, rotations and repositioning can take place in any order and the LookAt property will be updated appropriately.

See Also