# Vector3.TransformVector3.TransformVector3.TransformVector3.Transform Method

## Definice

Transformuje vektor. Transforms a vector.

## Přetížení

 Transform(Vector3, Matrix4x4) Transform(Vector3, Matrix4x4) Transform(Vector3, Matrix4x4) Transform(Vector3, Matrix4x4) Transformuje vektor podle zadaného matice 4 x 4. Transforms a vector by a specified 4x4 matrix. Transform(Vector3, Quaternion) Transform(Vector3, Quaternion) Transform(Vector3, Quaternion) Transform(Vector3, Quaternion) Transformuje vektor o zadanou hodnotu Quaternion otočení. Transforms a vector by the specified Quaternion rotation value.

## Transform(Vector3, Matrix4x4)Transform(Vector3, Matrix4x4)Transform(Vector3, Matrix4x4)Transform(Vector3, Matrix4x4)

Transformuje vektor podle zadaného matice 4 x 4. Transforms a vector by a specified 4x4 matrix.

``````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``

#### Parametry

position
Vector3 Vector3 Vector3 Vector3

Vektor, který umožňuje transformovat. The vector to transform.

matrix
Matrix4x4 Matrix4x4 Matrix4x4 Matrix4x4

Transformační matice. The transformation matrix.

#### Návraty

Transformovaný vektoru. The transformed vector.

## Transform(Vector3, Quaternion)Transform(Vector3, Quaternion)Transform(Vector3, Quaternion)Transform(Vector3, Quaternion)

Transformuje vektor o zadanou hodnotu Quaternion otočení. Transforms a vector by the specified Quaternion rotation value.

``````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``

#### Parametry

value
Vector3 Vector3 Vector3 Vector3

Vektor otočí. The vector to rotate.

rotation
Quaternion Quaternion Quaternion Quaternion

Otočení, které chcete použít. The rotation to apply.

#### Návraty

Transformovaný vektoru. The transformed vector.