FQuat::ToAxisAndAngle

Get the axis and angle of rotation of this quaternion : assumes normalized quaternions.

Windows
MacOS
Linux

Warnings

  • assumes normalized quaternions.

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Math/Quat.h

Include

#include "Math/Quat.h"

Syntax

void ToAxisAndAngle
(
    FVector & Axis,
    float & Angle
) const

Remarks

Get the axis and angle of rotation of this quaternion

: assumes normalized quaternions.

Parameters

Parameter

Description

Axis{out]

vector of axis of the quaternion

Angle{out]

angle of the quaternion

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss