ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX Namespace / Matrix4x4 Structure / TranslationRef Method / TranslationRef(Matrix4x4,Single,Single,Single) Method
When the method completes, contains the created translation matrix.
X-coordinate offset.
Y-coordinate offset.
Z-coordinate offset.

In This Topic
    TranslationRef(Matrix4x4,Single,Single,Single) Method
    In This Topic
    Creates a translation matrix using the specified offsets.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub TranslationRef( _
       ByRef result As Matrix4x4, _
       ByVal x As Single, _
       ByVal y As Single, _
       ByVal z As Single _
    ) 
    public static void TranslationRef( 
       out Matrix4x4 result,
       float x,
       float y,
       float z
    )

    Parameters

    result
    When the method completes, contains the created translation matrix.
    x
    X-coordinate offset.
    y
    Y-coordinate offset.
    z
    Z-coordinate offset.
    See Also