Matrix4d.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(Vector3d) | |
CreateTranslation(Vector3d, Matrix4d) |
Creates a translation matrix. |
CreateTranslation(Double, Double, Double) | |
CreateTranslation(Double, Double, Double, Matrix4d) |
Creates a translation matrix. |
CreateTranslation(Vector3d)
CreateTranslation(Vector3d, Matrix4d)
CreateTranslation(Double, Double, Double)
CreateTranslation(Double, Double, Double, Matrix4d)
Creates a translation matrix.
public static void CreateTranslation (double x, double y, double z, out OpenTK.Matrix4d result);
static member CreateTranslation : double * double * double * -> unit
Parameters
- x
- Double
X translation.
- y
- Double
Y translation.
- z
- Double
Z translation.
- result
- Matrix4d
The resulting Matrix4d instance.