Modifier

Partager via


Vector3.TransformPerspective Method

Definition

Overloads

TransformPerspective(Vector3, Matrix4, Vector3)

Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3

TransformPerspective(Vector3, Matrix4)

TransformPerspective(Vector3, Matrix4, Vector3)

Transform a Vector3 by the given Matrix, and project the resulting Vector4 back to a Vector3

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

Parameters

vec
Vector3

The vector to transform

mat
Matrix4

The desired transformation

result
Vector3

The transformed vector

Applies to

TransformPerspective(Vector3, Matrix4)

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

Parameters

vec
Vector3
mat
Matrix4

Returns

Applies to