ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / World Method
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
    World Method
    In This Topic
    Creates a world matrix with the specified parameters.
    Syntax
    'Declaration
     
    Public Shared Function World( _
       ByVal position As Vector3, _
       ByVal forward As Vector3, _
       ByVal up As Vector3 _
    ) As Matrix4x4
    public static Matrix4x4 World( 
       Vector3 position,
       Vector3 forward,
       Vector3 up
    )

    Parameters

    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