Click or drag to resize

Matrix44CreatePerspectiveFieldOfView(Double, Double, Double, Double, Matrix44) Method

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

Namespace: CFX.Structures.Geometry
Assembly: CFX (in CFX.dll) Version: 2.0.0+5bb1f71a933ed371a0f5f2d5e7db34c89b75f3ea
Syntax
public static void CreatePerspectiveFieldOfView(
	double fieldOfView,
	double aspectRatio,
	double nearPlaneDistance,
	double farPlaneDistance,
	out Matrix44 result
)

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 of the near plane.
farPlaneDistance  Double
Distance of the far plane.
result  Matrix44
The new projection Matrix44 for perspective view with FOV as an output parameter.
See Also