'Declaration Public Shared Sub BillboardRef( _ ByRef result As Matrix4x4, _ ByRef objectPosition As Vector3, _ ByRef cameraPosition As Vector3, _ ByRef cameraUpVector As Vector3, _ ByRef cameraForwardVector As Vector3 _ )
public static void BillboardRef( out Matrix4x4 result, ref Vector3 objectPosition, ref Vector3 cameraPosition, ref Vector3 cameraUpVector, ref Vector3 cameraForwardVector )
Parameters
- result
- The created billboard.
- 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.