Editar

Compartir a través de


Vector3.Transform Method

Definition

Overloads

Transform(Vector3, Matrix4)
Transform(Vector3, Quaternion)
Transform(Vector3, Matrix4, Vector3)
Transform(Vector3, Matrix4, Vector4)

Transform a Vector by the given Matrix

Transform(Vector3, Quaternion, Vector3)

Transform(Vector3, Matrix4)

public static OpenTK.Vector3 Transform (OpenTK.Vector3 vec, OpenTK.Matrix4 mat);
static member Transform : OpenTK.Vector3 * OpenTK.Matrix4 -> OpenTK.Vector3

Parameters

vec
Vector3
mat
Matrix4

Returns

Applies to

Transform(Vector3, Quaternion)

public static OpenTK.Vector3 Transform (OpenTK.Vector3 vec, OpenTK.Quaternion quat);
static member Transform : OpenTK.Vector3 * OpenTK.Quaternion -> OpenTK.Vector3

Parameters

vec
Vector3
quat
Quaternion

Returns

Applies to

Transform(Vector3, Matrix4, Vector3)

public static void Transform (ref OpenTK.Vector3 vec, ref OpenTK.Matrix4 mat, out OpenTK.Vector3 result);
static member Transform :  *  *  -> unit

Parameters

vec
Vector3
mat
Matrix4
result
Vector3

Applies to

Transform(Vector3, Matrix4, Vector4)

Transform a Vector by the given Matrix

public static void Transform (ref OpenTK.Vector3 vec, ref OpenTK.Matrix4 mat, out OpenTK.Vector4 result);
static member Transform :  *  *  -> unit

Parameters

vec
Vector3

The vector to transform

mat
Matrix4

The desired transformation

result
Vector4

The transformed vector

Applies to

Transform(Vector3, Quaternion, Vector3)

public static void Transform (ref OpenTK.Vector3 vec, ref OpenTK.Quaternion quat, out OpenTK.Vector3 result);
static member Transform :  *  *  -> unit

Parameters

vec
Vector3
quat
Quaternion
result
Vector3

Applies to