ComponentOne Bitmap for UWP
BillboardRef Method

C1.UWP.DX Assembly > C1.Util.DX Namespace > Matrix4x4 Structure : BillboardRef Method
The created billboard.
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.
Creates a spherical billboard that rotates around a specified object position.
Syntax
'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.
See Also

Reference

Matrix4x4 Structure
Matrix4x4 Members