ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / WorldRef Method
The world matrix.
The position of the object (used in translation operations).
The forward direction of the object.
The upward direction of the object. Its value is usually [0, 1, 0].

In This Topic
    WorldRef Method
    In This Topic
    Creates a world matrix with the specified parameters.
    Syntax
    'Declaration
     
    Public Shared Sub WorldRef( _
       ByRef result As Matrix4x4, _
       ByRef position As Vector3, _
       ByRef forward As Vector3, _
       ByRef up As Vector3 _
    ) 
    public static void WorldRef( 
       out Matrix4x4 result,
       ref Vector3 position,
       ref Vector3 forward,
       ref Vector3 up
    )

    Parameters

    result
    The world matrix.
    position
    The position of the object (used in translation operations).
    forward
    The forward direction of the object.
    up
    The upward direction of the object. Its value is usually [0, 1, 0].

    Return Value

    The world matrix.
    See Also