GlobalVectorConstants::DEG_TO_RAD_HALF

Returns a vector based on 4 FLOATs.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathVectorConstants.h"

Syntax

namespace GlobalVectorConstants
{
    static const VectorRegister GlobalVectorConstants::DEG_TO_RAD_HALF = MakeVectorRegister((PI/180.f)0.5f, (PI/180.f)0.5f, (PI/180.f)0.5f, (PI/180.f)0.5f);
}

Remarks

Returns a vector based on 4 FLOATs.

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