ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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.

In This Topic
    BillboardRef Method
    In This Topic
    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