Click or drag to resize

CameraBaseWithUpEyeTargetZNearZFar Method

Creates a new camera with provided upVector, eyePosition, targetPosition, znear and zfar distance..

Namespace: Altaxo.Graph.Graph3D.Camera
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public CameraBase WithUpEyeTargetZNearZFar(
	VectorD3D upVector,
	PointD3D eyePosition,
	PointD3D targetPosition,
	double zNear,
	double zFar
)

Parameters

upVector  VectorD3D
Up vector.
eyePosition  PointD3D
The eye position.
targetPosition  PointD3D
The target position.
zNear  Double
The z near distance.
zFar  Double
The z far distance.

Return Value

CameraBase
New camera with the provided parameters.
See Also