Vector.AsQuaternion(Vector4) Method
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.
Reinterprets a Vector4 as a new Quaternion.
public:
[System::Runtime::CompilerServices::Extension]
static System::Numerics::Quaternion AsQuaternion(System::Numerics::Vector4 value);
C#
public static System.Numerics.Quaternion AsQuaternion(this System.Numerics.Vector4 value);
static member AsQuaternion : System.Numerics.Vector4 -> System.Numerics.Quaternion
<Extension()>
Public Function AsQuaternion (value As Vector4) As Quaternion
- value
- Vector4
The vector to reinterpret.
value
reinterpreted as a new Quaternion.
Product | Versions |
---|---|
.NET | 9, 10 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: