Matrix4x4.CreateFromQuaternion(Quaternion) Method
Definition
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 rotation matrix from the specified Quaternion rotation value.
public:
static System::Numerics::Matrix4x4 CreateFromQuaternion(System::Numerics::Quaternion quaternion);
public static System.Numerics.Matrix4x4 CreateFromQuaternion (System.Numerics.Quaternion quaternion);
static member CreateFromQuaternion : System.Numerics.Quaternion -> System.Numerics.Matrix4x4
Public Shared Function CreateFromQuaternion (quaternion As Quaternion) As Matrix4x4
Parameters
- quaternion
- Quaternion
The source Quaternion.
Returns
The rotation matrix.
Applies to
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.