QuaternionCreateFromAxisAngle Method |
Creates a new
Quaternion from the specified axis and angle.
Namespace:
SampSharp.GameMode
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic static Quaternion CreateFromAxisAngle(
Vector3 axis,
float angle
)
Parameters
- axis
- Type: SampSharp.GameModeVector3
The axis of rotation. - angle
- Type: SystemSingle
The angle in radians.
Return Value
Type:
QuaternionThe new quaternion built from axis and angle.
See Also