FQuaternionFromAxisAngle Method
Create a quaternion from an arbitrary axis and an angle.
Namespace: GeometryAssembly: Geometry (in Geometry.dll) Version: 25.2613.4238
public static FQuaternion FromAxisAngle(
FVector3 axis,
float angle
)
Public Shared Function FromAxisAngle (
axis As FVector3,
angle As Single
) As FQuaternion
No code example is currently available or this language may not be supported.
- axis FVector3
-
Reference to the axis around which the rotation is guing to take place.
- angle Single
-
The angle of rotation that is going to be applied around the axis,
in radians.
FQuaternion
Reference to a newly created quaternion where rotation around the
caller's arbitrary axis has been applied, if legitimate.