| QuaternionFCreateRotationZ Method |
Creates a unit quaternion that specifies a rotation by a given angle around the z-axis.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionF CreateRotationZ(
float angle
)
Public Shared Function CreateRotationZ (
angle As Single
) As QuaternionF
public:
static QuaternionF CreateRotationZ(
float angle
)
static member CreateRotationZ :
angle : float32 -> QuaternionF
Parameters
- angle
- Type: SystemSingle
The rotation angle in radians.
Return Value
Type:
QuaternionF
The created unit quaternion that describes a rotation by the
angle
radians around the z-axis.
See Also