MatrixPerspectiveFovRH Method (Single, Single, Single, Single, Matrix)

RAGE Plugin Hook Documentation

[This is preliminary documentation and is subject to change.]

Creates a right-handed, perspective projection matrix based on a field of view.

Namespace:  Rage
Assembly:  RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax

public static void PerspectiveFovRH(
	float fov,
	float aspect,
	float znear,
	float zfar,
	out Matrix result
)

Parameters

fov
Type: SystemSingle
Field of view in the y direction, in radians.
aspect
Type: SystemSingle
Aspect ratio, defined as view space width divided by height.
znear
Type: SystemSingle
Minimum z-value of the viewing volume.
zfar
Type: SystemSingle
Maximum z-value of the viewing volume.
result
Type: RageMatrix
When the method completes, contains the created projection matrix.
See Also

Reference