PerspectiveCameraWithZNearZFarWithoutChangingViewAngle Method |
Gets a new instance of the camera with
ZNear and
ZFar set to the provided values. The
WidthAtTargetDistance is adjusted so that the view angle of the camera is not changed.
Namespace: Altaxo.Graph.Graph3D.CameraAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public override CameraBase WithZNearZFarWithoutChangingViewAngle(
double zNear,
double zFar
)
Parameters
- zNear Double
- The zNear distance.
- zFar Double
- The zFar distance.
Return Value
CameraBase
A new instance of the camera with
ZNear and
ZFar set to the provided values. The
WidthAtTargetDistance is adjusted so that the view angle of the camera is not changed.
See Also