Click or drag to resize

CameraBaseWithZNearZFarWithoutChangingViewAngle 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.Camera
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public abstract 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