maskedBones beta
Function of @v12-engine/client
ts
export declare function maskedBones(bones: readonly MaskBone[], mask: ClipMask): Set<string>;The bones a mask keeps, by name, of a rig: upper the spine (spineOf) and everything that hangs from it, or the bones whose names say so where the rig has no spine; lower every bone upper leaves (the hips, the legs, the root); bones by name, each with what hangs from it, as spelled, or as spelled by another tool (plainBoneName). A name the rig has not got is passed over: a mask of none keeps nothing, and the clip moves nothing