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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.