TRotator::MakeFromEuler

Convert a vector of floating-point Euler angles (in degrees) into a Rotator.

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

static TRotator MakeFromEuler
(
    const TVector< T > & Euler
)

Remarks

Convert a vector of floating-point Euler angles (in degrees) into a Rotator. Rotator now stored in degrees

Returns

A rotator from a Euler angle.

Parameters

Parameter

Description

Euler

Euler angle vector.