Quaternion Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new Quaternion object.
Quaternion(Vector3, Single) |
Creates a quaternion from the specified vector and rotation parts. |
Quaternion(Single, Single, Single, Single) |
Constructs a quaternion from the specified components. |
- Source:
- Quaternion.cs
- Source:
- Quaternion.cs
- Source:
- Quaternion.cs
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)
Parameters
- vectorPart
- Vector3
The vector part of the quaternion.
- scalarPart
- Single
The rotation part of the quaternion.
Applies to
.NET 10 an aner Versiounen
Produkt | Versiounen |
---|---|
.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, 10 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
- Source:
- Quaternion.cs
- Source:
- Quaternion.cs
- Source:
- Quaternion.cs
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)
Parameters
- x
- Single
The value to assign to the X component of the quaternion.
- y
- Single
The value to assign to the Y component of the quaternion.
- z
- Single
The value to assign to the Z component of the quaternion.
- w
- Single
The value to assign to the W component of the quaternion.
Applies to
.NET 10 an aner Versiounen
Produkt | Versiounen |
---|---|
.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, 10 |
.NET Framework | 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 (package-provided), 2.1 |
UWP | 10.0 |
Feedback zu .NET
.NET ass en Open-Source-Projet. Wielt e Link, fir Feedback ze ginn: