Interface IBodyVisibilityManager
Manages visibility of body region SkinnedMeshRenderers. Hides body parts covered by equipped armor and restores them on unequip. Also provides access to the character's skeleton root for equipment mesh binding.
public interface IBodyVisibilityManager : ICharacterBehaviour
- Inherited Members
Properties
SkeletonRoot
The root Transform of the character skeleton. Equipment meshes are bound to this skeleton.
Transform SkeletonRoot { get; }
Property Value
- Transform
Methods
HideRegions(BodyRegion[], ItemSlot)
Hides the specified body regions. Tracks which slot requested the hide.
void HideRegions(BodyRegion[] regions, ItemSlot slot)
Parameters
regionsBodyRegion[]Body regions to hide.
slotItemSlotThe equipment slot causing the hide.
ShowAllRegions()
Shows all body regions regardless of equipped items.
void ShowAllRegions()
ShowRegionsForSlot(ItemSlot)
Shows body regions previously hidden by the specified slot. Regions still hidden by other equipped items remain hidden.
void ShowRegionsForSlot(ItemSlot slot)
Parameters
slotItemSlotThe equipment slot whose hidden regions to restore.