FVector4::ToOrientationQuat

Return the Quaternion orientation corresponding to the direction in which the vector points.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/Vector4.h"

Source

/Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp

Syntax

FQuat ToOrientationQuat() const

Remarks

Return the Quaternion orientation corresponding to the direction in which the vector points.

Returns

Quaternion from the Vector's direction.

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