[]
        
(Showing Draft Content)

C1.Util.DX.Matrix3x2.TranslationRef

TranslationRef Method

TranslationRef(out Matrix3x2, float, float)

Creates a translation matrix using the specified offsets.

Declaration
public static void TranslationRef(out Matrix3x2 result, float x, float y)
Public Shared Sub TranslationRef(ByRef result As Matrix3x2, x As Single, y As Single)
Parameters
Type Name Description
Matrix3x2 result

When the method completes, contains the created translation matrix.

float x

X-coordinate offset.

float y

Y-coordinate offset.