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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax public 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