FQuat::FQuat

Creates and initializes a new quaternion from the a rotation around the given axis.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Quat.h"

Syntax

FQuat
(
    FVector Axis,
    float AngleRad
)

Remarks

Creates and initializes a new quaternion from the a rotation around the given axis.

Parameters

Parameter

Description

Axis

assumed to be a normalized vector

Angle

angle to rotate above the given axis (in radians)

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