ConstrainedBillboardRef Method
In This Topic
Creates a cylindrical billboard that rotates around a specified axis.
Syntax
'Declaration
Public Shared Sub ConstrainedBillboardRef( _
ByRef As Matrix4x4, _
ByRef As Vector3, _
ByRef As Vector3, _
ByRef As Vector3, _
ByRef As Vector3, _
ByRef As Vector3 _
)
public static void ConstrainedBillboardRef(
out Matrix4x4 ,
ref Vector3 ,
ref Vector3 ,
ref Vector3 ,
ref Vector3 ,
ref Vector3
)
Parameters
- result
- The billboard matrix.
- objectPosition
- The position of the object that the billboard will rotate around.
- cameraPosition
- The position of the camera.
- rotateAxis
- The axis to rotate the billboard around.
- cameraForwardVector
- The forward vector of the camera.
- objectForwardVector
- The forward vector of the object.
See Also