[]
Creates a translation matrix using the specified offsets.
public static Matrix3x2 Translation(float x, float y)
| Type | Name | Description |
|---|---|---|
| float | x | X-coordinate offset. |
| float | y | Y-coordinate offset. |
| Type | Description |
|---|---|
| Matrix3x2 | The created translation matrix. |
Creates a translation matrix using the specified offsets.
public static Matrix3x2 Translation(Size2F value)
| Type | Name | Description |
|---|---|---|
| Size2F | value | The offset for all three coordinate planes. |
| Type | Description |
|---|---|
| Matrix3x2 | The created translation matrix. |
Creates a translation matrix using the specified offsets.
public static Matrix3x2 Translation(Vector2 value)
| Type | Name | Description |
|---|---|---|
| Vector2 | value | The offset for all three coordinate planes. |
| Type | Description |
|---|---|
| Matrix3x2 | The created translation matrix. |