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.
Optional
Returns the finalized skeleton mask.
finalize must be called before the mask can be retrieved.
Finalizes the mask. Once finalized, no more changes can be made.
Enables or disables the bone with the specified name.
name
Options object for the function call.
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.