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