[]
Creates a translation matrix using the specified offsets.
public static void TranslationRef(out Matrix3x2 result, float x, float y)
Type | Name | Description |
---|---|---|
Matrix3x2 | result | When the method completes, contains the created translation matrix. |
float | x | X-coordinate offset. |
float | y | Y-coordinate offset. |