GlobalVectorConstants::PiByTwo

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::PiByTwo = MakeVectorRegister(0.5f*PI, 0.5f*PI, 0.5f*PI, 0.5f*PI);
}

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