appCountTrailingZeros

Counts the number of trailing zeros in the bit representation of the value, counting from least-significant bit to most.

Windows
MacOS
Linux

References

Module

Core

Header

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

Include

#include "Math/UnrealMathVectorCommon.h"

Syntax

uint32 appCountTrailingZeros
(
    uint32 Value
)

Remarks

Counts the number of trailing zeros in the bit representation of the value, counting from least-significant bit to most.

Returns

the number of zeros before the first "on" bit

Parameters

Parameter

Description

Value

the value to determine the number of leading zeros for

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