Quaternion Quaternion Quaternion Quaternion Constructors

Definição

Sobrecargas

Quaternion(Vector3, Single) Quaternion(Vector3, Single) Quaternion(Vector3, Single) Quaternion(Vector3, Single)

Cria um quatérnio com base nas partes de vetor e de rotação especificadas.Creates a quaternion from the specified vector and rotation parts.

Quaternion(Single, Single, Single, Single) Quaternion(Single, Single, Single, Single) Quaternion(Single, Single, Single, Single) Quaternion(Single, Single, Single, Single)

Constrói um quatérnio com base nos componentes especificados.Constructs a quaternion from the specified components.

Quaternion(Vector3, Single) Quaternion(Vector3, Single) Quaternion(Vector3, Single) Quaternion(Vector3, Single)

Cria um quatérnio com base nas partes de vetor e de rotação especificadas.Creates a quaternion from the specified vector and rotation parts.

public:
 Quaternion(System::Numerics::Vector3 vectorPart, float scalarPart);
public Quaternion (System.Numerics.Vector3 vectorPart, float scalarPart);
new System.Numerics.Quaternion : System.Numerics.Vector3 * single -> System.Numerics.Quaternion
Public Sub New (vectorPart As Vector3, scalarPart As Single)

Parâmetros

vectorPart
Vector3 Vector3 Vector3 Vector3

A parte de vetor do quatérnio.The vector part of the quaternion.

scalarPart
Single Single Single Single

A parte de rotação do quatérnio.The rotation part of the quaternion.

Quaternion(Single, Single, Single, Single) Quaternion(Single, Single, Single, Single) Quaternion(Single, Single, Single, Single) Quaternion(Single, Single, Single, Single)

Constrói um quatérnio com base nos componentes especificados.Constructs a quaternion from the specified components.

public:
 Quaternion(float x, float y, float z, float w);
public Quaternion (float x, float y, float z, float w);
new System.Numerics.Quaternion : single * single * single * single -> System.Numerics.Quaternion
Public Sub New (x As Single, y As Single, z As Single, w As Single)

Parâmetros

x
Single Single Single Single

O valor a ser atribuído ao componente X do quatérnio.The value to assign to the X component of the quaternion.

y
Single Single Single Single

O valor a ser atribuído ao componente Y do quatérnio.The value to assign to the Y component of the quaternion.

z
Single Single Single Single

O valor a ser atribuído ao componente Z do quatérnio.The value to assign to the Z component of the quaternion.

w
Single Single Single Single

O valor a ser atribuído ao componente W do quatérnio.The value to assign to the W component of the quaternion.

Aplica-se a