FGenericPlatformMath::ReverseMortonCode2

Reverses MortonCode2. Compacts every other bit to the right.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/GenericPlatform/GenericPlatformMath.h

Include

#include "GenericPlatform/GenericPlatformMath.h"

Syntax

static uint32 ReverseMortonCode2
(
    uint32 x
)

Remarks

Reverses MortonCode2. Compacts every other bit to the right.

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