MatrixPerspectiveRH Method (Single, Single, Single, Single)

RAGE Plugin Hook Documentation

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

Creates a right-handed, perspective projection matrix.

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

public static Matrix PerspectiveRH(
	float width,
	float height,
	float znear,
	float zfar
)

Parameters

width
Type: SystemSingle
Width of the viewing volume.
height
Type: SystemSingle
Height of the viewing volume.
znear
Type: SystemSingle
Minimum z-value of the viewing volume.
zfar
Type: SystemSingle
Maximum z-value of the viewing volume.

Return Value

Type: Matrix
The created projection matrix.
See Also

Reference