[This is preliminary documentation and is subject to change.]
Creates a spherical billboard that rotates around a specified object position.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
public static Matrix Billboard( Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector )
Parameters
- objectPosition
- Type: RageVector3
The position of the object around which the billboard will rotate. - cameraPosition
- Type: RageVector3
The position of the camera. - cameraUpVector
- Type: RageVector3
The up vector of the camera. - cameraForwardVector
- Type: RageVector3
The forward vector of the camera.
Return Value
Type: MatrixThe created billboard matrix.
See Also