Edytuj

Udostępnij za pośrednictwem


Vector3.TransformPosition Method

Definition

Overloads

TransformPosition(Vector3, Matrix4)
TransformPosition(Vector3, Matrix4, Vector3)

Transform a Position by the given Matrix

TransformPosition(Vector3, Matrix4)

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

Parameters

pos
Vector3
mat
Matrix4

Returns

Applies to

TransformPosition(Vector3, Matrix4, Vector3)

Transform a Position by the given Matrix

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

Parameters

pos
Vector3

The position to transform

mat
Matrix4

The desired transformation

result
Vector3

The transformed position

Applies to