Chaos::ObjectStateBitCount

Count N, the number of bits needed to store an object state.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/RigidParticles.h

Include

#include "Chaos/RigidParticles.h"

Syntax

namespace Chaos
{
    static constexpr int8 Chaos::ObjectStateBitCount = NumBitsNeeded((int8)EObjectStateType::Count - 1);
}

Remarks

Count N, the number of bits needed to store an object state.

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