Editar

Compartir a través de


Matrix4d.CreateTranslation Method

Definition

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)

public static OpenTK.Matrix4d CreateTranslation (OpenTK.Vector3d vector);
static member CreateTranslation : OpenTK.Vector3d -> OpenTK.Matrix4d

Parameters

vector
Vector3d

Returns

Applies to

CreateTranslation(Vector3d, Matrix4d)

Creates a translation matrix.

public static void CreateTranslation (ref OpenTK.Vector3d vector, out OpenTK.Matrix4d result);
static member CreateTranslation :  *  -> unit

Parameters

vector
Vector3d

The translation vector.

result
Matrix4d

The resulting Matrix4d instance.

Applies to

CreateTranslation(Double, Double, Double)

public static OpenTK.Matrix4d CreateTranslation (double x, double y, double z);
static member CreateTranslation : double * double * double -> OpenTK.Matrix4d

Parameters

x
Double
y
Double
z
Double

Returns

Applies to

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.

Applies to