Edytuj

Udostępnij za pośrednictwem


Vector4.Transform Method

Definition

Overloads

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

Transform a Vector by the given Matrix

Transform(Vector4, Quaternion, Vector4)

Transform(Vector4, Matrix4)

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

Parameters

vec
Vector4
mat
Matrix4

Returns

Applies to

Transform(Vector4, Quaternion)

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

Parameters

vec
Vector4
quat
Quaternion

Returns

Applies to

Transform(Vector4, Matrix4, Vector4)

Transform a Vector by the given Matrix

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

Parameters

vec
Vector4

The vector to transform

mat
Matrix4

The desired transformation

result
Vector4

The transformed vector

Applies to

Transform(Vector4, Quaternion, Vector4)

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

Parameters

vec
Vector4
quat
Quaternion
result
Vector4

Applies to