Vector2.Transform 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 vektor.
Överlagringar
| Name | Description |
|---|---|
| Transform(Vector2, Matrix3x2) |
Transformerar en vektor med en angiven 3x2-matris. |
| Transform(Vector2, Matrix4x4) |
Transformerar en vektor med en angiven 4x4-matris. |
| Transform(Vector2, Quaternion) |
Transformerar en vektor med det angivna Quaternion-rotationsvärdet. |
Transform(Vector2, Matrix3x2)
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
Transformerar en vektor med en angiven 3x2-matris.
public:
static System::Numerics::Vector2 Transform(System::Numerics::Vector2 position, System::Numerics::Matrix3x2 matrix);
public static System.Numerics.Vector2 Transform(System.Numerics.Vector2 position, System.Numerics.Matrix3x2 matrix);
static member Transform : System.Numerics.Vector2 * System.Numerics.Matrix3x2 -> System.Numerics.Vector2
Public Shared Function Transform (position As Vector2, matrix As Matrix3x2) As Vector2
Parametrar
- position
- Vector2
Vektorn som ska transformeras.
- matrix
- Matrix3x2
Transformeringsmatrisen.
Returer
Den transformerade vektorn.
Gäller för
Transform(Vector2, Matrix4x4)
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
Transformerar en vektor med en angiven 4x4-matris.
public:
static System::Numerics::Vector2 Transform(System::Numerics::Vector2 position, System::Numerics::Matrix4x4 matrix);
public static System.Numerics.Vector2 Transform(System.Numerics.Vector2 position, System.Numerics.Matrix4x4 matrix);
static member Transform : System.Numerics.Vector2 * System.Numerics.Matrix4x4 -> System.Numerics.Vector2
Public Shared Function Transform (position As Vector2, matrix As Matrix4x4) As Vector2
Parametrar
- position
- Vector2
Vektorn som ska transformeras.
- matrix
- Matrix4x4
Transformeringsmatrisen.
Returer
Den transformerade vektorn.
Gäller för
Transform(Vector2, Quaternion)
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
- Källa:
- Vector2.cs
Transformerar en vektor med det angivna Quaternion-rotationsvärdet.
public:
static System::Numerics::Vector2 Transform(System::Numerics::Vector2 value, System::Numerics::Quaternion rotation);
public static System.Numerics.Vector2 Transform(System.Numerics.Vector2 value, System.Numerics.Quaternion rotation);
static member Transform : System.Numerics.Vector2 * System.Numerics.Quaternion -> System.Numerics.Vector2
Public Shared Function Transform (value As Vector2, rotation As Quaternion) As Vector2
Parametrar
- value
- Vector2
Den vektor som ska roteras.
- rotation
- Quaternion
Rotationen som ska tillämpas.
Returer
Den transformerade vektorn.