| QuaternionFCreateRotationY Method |
Creates a unit quaternion that specifies a rotation by a given angle around the y-axis.
Namespace: DigitalRune.Mathematics.AlgebraAssembly: DigitalRune.Mathematics (in DigitalRune.Mathematics.dll) Version: 1.14.0.0 (1.14.0.14427)
Syntax public static QuaternionF CreateRotationY(
float angle
)
Public Shared Function CreateRotationY (
angle As Single
) As QuaternionF
public:
static QuaternionF CreateRotationY(
float angle
)
static member CreateRotationY :
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 y-axis.
See Also