A body zone paired with its parts, the root of the Body Locations tree.

interface BodyZoneNode {
    index: number;
    label: string;
    parts: BodyPartNode[];
    shortcode: string;
    zoneRange: string;
}

Properties

index: number

Zero-based index of the zone within the structure's flat zones array.

label: string

The zone's display label.

parts: BodyPartNode[]

The zone's body parts, in order.

shortcode: string

The zone's shortcode (its row key within the structure), for the Edit action.

zoneRange: string

The zone's run of zone numbers rendered for display, e.g. "4–8", or the single number when the run is one long. Empty when the zone is unweighted and so unrollable.