Click or drag to resize

Matrix4Perspective(Double, Double, Double, Double, Matrix4) Method

Creates a perspective projection matrix.

Namespace: NeoAxis
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public static void Perspective(
	double fov,
	double aspect,
	double znear,
	double zfar,
	out Matrix4 result
)

Parameters

fov  Double
Angle of the field of view in the y direction.
aspect  Double
Aspect ratio of the view (width / height).
znear  Double
Distance to the near clip plane.
zfar  Double
Distance to the far clip plane.
result  Matrix4
When the method completes, contains a projection matrix that transforms camera space to raster space.
See Also