Skip to content

gi-nx


gi-nx / GiraffeStateBakedSections

ts
type GiraffeStateBakedSections = {
  bakedSections: Record<FeatureId, StackedSection[]>;
};

Evaluated + stacked sections, keyed by feature ID.

Stacking is resolved for visible features only. A section hidden by a layer toggle or an inactive scenario is still published here, but the properties the stacking pass writes are not resolved for it: _isBaseSection, _stackOrder and _isTopOfStack are absent, _buildingID falls back to its own buildingID (or stays unset), and _baseHeight / _height describe it standing alone on the ground rather than stacked up.

Properties ​

PropertyType
bakedSectionsRecord<FeatureId, StackedSection[]>

References ​