Click or drag to resize

PerspectiveCameraGetViewProjectionMatrix(Double, Double, Double, Double, Double) Method

Gets the transposed result of LookAtRH matrix multiplied with the OrthoRH matrix.

Namespace: Altaxo.Graph.Graph3D.Camera
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public Matrix4x4 GetViewProjectionMatrix(
	double aspectRatio,
	double zNearPlane,
	double zFarPlane,
	double screenOffsetX,
	double screenOffsetY
)

Parameters

aspectRatio  Double
The aspect ratio of the screen (or whatever the 2D output medium is).
zNearPlane  Double
The z near plane, i.e. the z camera coordinate of the near end of the view volume.
zFarPlane  Double
The z far plane, i.e. the z camera coordinate of the far end of the view volume.
screenOffsetX  Double
The x component of the relative screen offset.
screenOffsetY  Double
The y component of the relative screen offset.

Return Value

Matrix4x4
The LookAtRH matrix multiplied with the OrthoRH matrix.
See Also