Vector3.Transform Metod

Definition

Transformerar en vektor.

Överlagringar

Name Description
Transform(Vector3, Matrix4x4)

Transformerar en vektor med en angiven 4x4-matris.

Transform(Vector3, Quaternion)

Transformerar en vektor med det angivna Quaternion-rotationsvärdet.

Transform(Vector3, Matrix4x4)

Källa:
Vector3.cs
Källa:
Vector3.cs
Källa:
Vector3.cs
Källa:
Vector3.cs
Källa:
Vector3.cs

Transformerar en vektor med en angiven 4x4-matris.

public:
 static System::Numerics::Vector3 Transform(System::Numerics::Vector3 position, System::Numerics::Matrix4x4 matrix);
public static System.Numerics.Vector3 Transform(System.Numerics.Vector3 position, System.Numerics.Matrix4x4 matrix);
static member Transform : System.Numerics.Vector3 * System.Numerics.Matrix4x4 -> System.Numerics.Vector3
Public Shared Function Transform (position As Vector3, matrix As Matrix4x4) As Vector3

Parametrar

position
Vector3

Vektorn som ska transformeras.

matrix
Matrix4x4

Transformeringsmatrisen.

Returer

Den transformerade vektorn.

Gäller för

Transform(Vector3, Quaternion)

Källa:
Vector3.cs
Källa:
Vector3.cs
Källa:
Vector3.cs
Källa:
Vector3.cs
Källa:
Vector3.cs

Transformerar en vektor med det angivna Quaternion-rotationsvärdet.

public:
 static System::Numerics::Vector3 Transform(System::Numerics::Vector3 value, System::Numerics::Quaternion rotation);
public static System.Numerics.Vector3 Transform(System.Numerics.Vector3 value, System.Numerics.Quaternion rotation);
static member Transform : System.Numerics.Vector3 * System.Numerics.Quaternion -> System.Numerics.Vector3
Public Shared Function Transform (value As Vector3, rotation As Quaternion) As Vector3

Parametrar

value
Vector3

Den vektor som ska roteras.

rotation
Quaternion

Rotationen som ska tillämpas.

Returer

Den transformerade vektorn.

Gäller för