RSX Code Reference
    Preparing search index...
    • rsx
    • SkeletonMaskBuilder

    Class SkeletonMaskBuilder

    The SkeletonMaskBuilder class builds a SkeletonMask for a specific skeleton.

    Once all bone states are set using setBoneState the mask must be finalized by a call to finalize before the final mask can be retrieved using mask.

    Index
    • Finalizes the mask. Once finalized, no more changes can be made.

      Returns boolean

    • Enables or disables the bone with the specified name.

      Parameters

      • name: string
      • enabled: boolean

      Returns boolean

    • Enables or disables the bone with the specified boneIndex.

      Parameters

      • boneIndex: number
      • enabled: boolean

      Returns boolean