MatrixBillboard Method (Vector3, Vector3, Vector3, Vector3, Matrix)

RAGE Plugin Hook Documentation

[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 void Billboard(
	ref Vector3 objectPosition,
	ref Vector3 cameraPosition,
	ref Vector3 cameraUpVector,
	ref Vector3 cameraForwardVector,
	out Matrix result
)

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.
result
Type: RageMatrix
When the method completes, contains the created billboard matrix.
See Also

Reference