編輯

共用方式為


Vector3d.TransformPerspective Method

Definition

Overloads

TransformPerspective(Vector3d, Matrix4d, Vector3d)

Transform a Vector3d by the given Matrix, and project the resulting Vector4d back to a Vector3d

TransformPerspective(Vector3d, Matrix4d)

TransformPerspective(Vector3d, Matrix4d, Vector3d)

Transform a Vector3d by the given Matrix, and project the resulting Vector4d back to a Vector3d

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

Parameters

vec
Vector3d

The vector to transform

mat
Matrix4d

The desired transformation

result
Vector3d

The transformed vector

Applies to

TransformPerspective(Vector3d, Matrix4d)

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

Parameters

vec
Vector3d
mat
Matrix4d

Returns

Applies to