Click or drag to resize

Matrix44CreatePerspectiveFieldOfView(Double, Double, Double, Double) Method

Creates a new projection Matrix44 for perspective view with field of view.

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.1.1+880255d2f7380f340f56b243a51d99f2136bdae3
Syntax
public static Matrix44 CreatePerspectiveFieldOfView(
	double fieldOfView,
	double aspectRatio,
	double nearPlaneDistance,
	double farPlaneDistance
)

Parameters

fieldOfView  Double
Field of view in the y direction in radians.
aspectRatio  Double
Width divided by height of the viewing volume.
nearPlaneDistance  Double
Distance to the near plane.
farPlaneDistance  Double
Distance to the far plane.

Return Value

Matrix44
The new projection Matrix44 for perspective view with FOV.
See Also