'Declaration Public Shared Function Billboard( _ ByVal objectPosition As Vector3, _ ByVal cameraPosition As Vector3, _ ByVal cameraUpVector As Vector3, _ ByVal cameraForwardVector As Vector3 _ ) As Matrix4x4
public static Matrix4x4 Billboard( Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector )
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.