Click or drag to resize

OrthographicCameraWithEyeTargetWidth Method

Creates a new camera with provided eyePosition and targetPosition;

Namespace: Altaxo.Graph.Graph3D.Camera
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public OrthographicCamera WithEyeTargetWidth(
	PointD3D eyePosition,
	PointD3D targetPosition,
	double widthAtZNear
)

Parameters

eyePosition  PointD3D
The eye position.
targetPosition  PointD3D
The target position.
widthAtZNear  Double
The width of the view field at ZNear. (Since this is an orthographic camera, the width it constant for all distances, thus this is also the width for ZFar).

Return Value

OrthographicCamera
New camera with the provided parameters.
See Also