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