Vector4.Transform 方法

定义

重载

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

按给定矩阵转换向量

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

参数

vec
Vector4
mat
Matrix4

返回

适用于

Transform(Vector4, Quaternion)

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

参数

vec
Vector4
quat
Quaternion

返回

适用于

Transform(Vector4, Matrix4, Vector4)

按给定矩阵转换向量

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

参数

vec
Vector4

要转换的向量

mat
Matrix4

所需的转换

result
Vector4

转换后的向量

适用于

Transform(Vector4, Quaternion, Vector4)

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

参数

vec
Vector4
quat
Quaternion
result
Vector4

适用于