class SkeletonMask

Contains a bitfield that determines which skeleton bones are enabled or disabled during skeletal animation.

Use SkeletonMaskBuilder to create a mask for a specific skeleton.

Public

Constructors

SkeletonMask

SkeletonMask() = default

SkeletonMask

SkeletonMask(u32 boneCount)

Methods

IsEnabled

bool IsEnabled(u32 boneIndex) const

Checks is the bone at the specified index enabled.

Caller is expected to know which skeleton is the skeleton mask tied with, in order to determine the bone index.

Private

Fields

mIsDisabled

Vector<bool> mIsDisabled