TRotator::Vector

Convert a rotation into a unit vector facing in its direction.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

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

Include

#include "Math/Rotator.h"

Source

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

Syntax

TVector< T > Vector() const

Remarks

Convert a rotation into a unit vector facing in its direction.

Returns

Rotation as a unit direction vector.