Matrix4.CreateTranslation Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateTranslation(Vector3) | |
CreateTranslation(Vector3, Matrix4) |
Creates a translation matrix. |
CreateTranslation(Single, Single, Single) | |
CreateTranslation(Single, Single, Single, Matrix4) |
Creates a translation matrix. |
CreateTranslation(Vector3)
CreateTranslation(Vector3, Matrix4)
CreateTranslation(Single, Single, Single)
CreateTranslation(Single, Single, Single, Matrix4)
Creates a translation matrix.
public static void CreateTranslation (float x, float y, float z, out OpenTK.Matrix4 result);
static member CreateTranslation : single * single * single * -> unit
Parameters
- x
- Single
X translation.
- y
- Single
Y translation.
- z
- Single
Z translation.
- result
- Matrix4
The resulting Matrix4 instance.