Vector3.TransformNormal(Vector3, Matrix4x4) 方法

定義

依據指定的 4x4 矩陣轉換向量的法線。

public:
 static System::Numerics::Vector3 TransformNormal(System::Numerics::Vector3 normal, System::Numerics::Matrix4x4 matrix);
public static System.Numerics.Vector3 TransformNormal (System.Numerics.Vector3 normal, System.Numerics.Matrix4x4 matrix);
static member TransformNormal : System.Numerics.Vector3 * System.Numerics.Matrix4x4 -> System.Numerics.Vector3
Public Shared Function TransformNormal (normal As Vector3, matrix As Matrix4x4) As Vector3

參數

normal
Vector3

來源向量。

matrix
Matrix4x4

矩陣。

傳回

已轉換的向量。

適用於