C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / Billboard Method
The position of the object that the billboard will rotate around.
The position of the camera.
The up vector of the camera.
The forward vector of the camera.

In This Topic
Billboard Method
In This Topic
Creates a spherical billboard that rotates around a specified object position.
Syntax
'Declaration
 
Public Shared Function Billboard( _
   ByVal objectPosition As Vector3, _
   ByVal cameraPosition As Vector3, _
   ByVal cameraUpVector As Vector3, _
   ByVal cameraForwardVector As Vector3 _
) As Matrix4x4
 

Parameters

objectPosition
The position of the object that the billboard will rotate around.
cameraPosition
The position of the camera.
cameraUpVector
The up vector of the camera.
cameraForwardVector
The forward vector of the camera.

Return Value

The created billboard.
See Also