Method Translate
Translate(float3)
Returns a float4x4 translation matrix given a float3 translation vector.
Declaration
public static float4x4 Translate(float3 vector)
Parameters
| Type | Name | Description |
|---|---|---|
| float3 | vector | The translation vector. |
Returns
| Type | Description |
|---|---|
| float4x4 | The float4x4 translation matrix. |