Vector3.TransformNormal(Vector3, Matrix4x4) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Transforms a vector normal by the given 4x4 matrix.
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
Parameters
- normal
- Vector3
The source vector.
- matrix
- Matrix4x4
The matrix.
Returns
The transformed vector.
Applies to
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.