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

Матрица.

Возвращаемое значение

Vector3

Преобразованный вектор.

Применяется к