[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 void PerspectiveRH( float width, float height, float znear, float zfar, out Matrix result )
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. - result
- Type: RageMatrix
When the method completes, contains the created projection matrix.
See Also