[]
Creates a translation matrix using the specified offsets.
public static Matrix3x2 Translation(float x, float y)
Public Shared Function Translation(x As Single, y As Single) As Matrix3x2
| 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)
Public Shared Function Translation(value As Size2F) As Matrix3x2
| 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)
Public Shared Function Translation(value As Vector2) As Matrix3x2
| Type | Name | Description |
|---|---|---|
| Vector2 | value | The offset for all three coordinate planes. |
| Type | Description |
|---|---|
| Matrix3x2 | The created translation matrix. |