Vector3d.TransformPerspective 方法

定义

重载

TransformPerspective(Vector3d, Matrix4d, Vector3d)

通过给定矩阵转换 Vector3d,并将生成的 Vector4d 投影回 Vector3d

TransformPerspective(Vector3d, Matrix4d)

TransformPerspective(Vector3d, Matrix4d, Vector3d)

通过给定矩阵转换 Vector3d,并将生成的 Vector4d 投影回 Vector3d

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

参数

vec
Vector3d

要转换的向量

mat
Matrix4d

所需的转换

result
Vector3d

转换后的向量

适用于

TransformPerspective(Vector3d, Matrix4d)

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

参数

vec
Vector3d
mat
Matrix4d

返回

适用于