[This is preliminary documentation and is subject to change.]
Creates a left-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 Matrix PerspectiveFovLH( float fov, float aspect, float znear, float zfar )
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.
Return Value
Type: MatrixThe created projection matrix.
See Also