Leggere in inglese

Condividi tramite


Vector2.Transform Metodo

Definizione

Trasforma un vettore.

Overload

Transform(Vector2, Quaternion)

Trasforma un vettore in base al valore di rotazione quaternione specificato.

Transform(Vector2, Matrix3x2)

Trasforma un vettore in base a una matrice 3x2 specificata.

Transform(Vector2, Matrix4x4)

Trasforma un vettore in base a una matrice 4x4 specificata.

Transform(Vector2, Quaternion)

Origine:
Vector2.cs
Origine:
Vector2.cs
Origine:
Vector2.cs

Trasforma un vettore in base al valore di rotazione quaternione specificato.

C#
public static System.Numerics.Vector2 Transform(System.Numerics.Vector2 value, System.Numerics.Quaternion rotation);

Parametri

value
Vector2

Vettore da ruotare.

rotation
Quaternion

Rotazione da applicare.

Restituisce

Vettore trasformato.

Si applica a

.NET 9 e altre versioni
Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

Transform(Vector2, Matrix3x2)

Origine:
Vector2.cs
Origine:
Vector2.cs
Origine:
Vector2.cs

Trasforma un vettore in base a una matrice 3x2 specificata.

C#
public static System.Numerics.Vector2 Transform(System.Numerics.Vector2 position, System.Numerics.Matrix3x2 matrix);

Parametri

position
Vector2

Vettore da trasformare.

matrix
Matrix3x2

Matrice di trasformazione.

Restituisce

Vettore trasformato.

Si applica a

.NET 9 e altre versioni
Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

Transform(Vector2, Matrix4x4)

Origine:
Vector2.cs
Origine:
Vector2.cs
Origine:
Vector2.cs

Trasforma un vettore in base a una matrice 4x4 specificata.

C#
public static System.Numerics.Vector2 Transform(System.Numerics.Vector2 position, System.Numerics.Matrix4x4 matrix);

Parametri

position
Vector2

Vettore da trasformare.

matrix
Matrix4x4

Matrice di trasformazione.

Restituisce

Vettore trasformato.

Si applica a

.NET 9 e altre versioni
Prodotto Versioni
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0