Vector2.TransformNormal Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Transformerar en normal vektor.
Överlagringar
| Name | Description |
|---|---|
| TransformNormal(Vector2, Matrix4x4) |
Transformerar en normal vektor med den angivna 4x4-matrisen. |
| TransformNormal(Vector2, Matrix3x2) |
Transformerar en normal vektor med den angivna 3x2-matrisen. |
TransformNormal(Vector2, Matrix4x4)
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
Transformerar en normal vektor med den angivna 4x4-matrisen.
public:
static System::Numerics::Vector2 TransformNormal(System::Numerics::Vector2 normal, System::Numerics::Matrix4x4 matrix);
public static System.Numerics.Vector2 TransformNormal(System.Numerics.Vector2 normal, System.Numerics.Matrix4x4 matrix);
static member TransformNormal : System.Numerics.Vector2 * System.Numerics.Matrix4x4 -> System.Numerics.Vector2
Public Shared Function TransformNormal (normal As Vector2, matrix As Matrix4x4) As Vector2
Parametrar
- normal
- Vector2
Källvektorn.
- matrix
- Matrix4x4
Matrisen.
Returer
Den transformerade vektorn.
Gäller för
TransformNormal(Vector2, Matrix3x2)
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
Transformerar en normal vektor med den angivna 3x2-matrisen.
public:
static System::Numerics::Vector2 TransformNormal(System::Numerics::Vector2 normal, System::Numerics::Matrix3x2 matrix);
public static System.Numerics.Vector2 TransformNormal(System.Numerics.Vector2 normal, System.Numerics.Matrix3x2 matrix);
static member TransformNormal : System.Numerics.Vector2 * System.Numerics.Matrix3x2 -> System.Numerics.Vector2
Public Shared Function TransformNormal (normal As Vector2, matrix As Matrix3x2) As Vector2
Parametrar
- normal
- Vector2
Källvektorn.
- matrix
- Matrix3x2
Matrisen.
Returer
Den transformerade vektorn.