Table of Contents

Interface IBodyVisibilityManager

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

regions BodyRegion[]

Body regions to hide.

slot ItemSlot

The 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

slot ItemSlot

The equipment slot whose hidden regions to restore.