共用方式為


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

適用於