Saxonberg Server API
    Preparing search index...

    Public shape added by AdornableMixin.

    interface Adornable {
        addFixture(f: Stuff & Adornment, slotName?: string): boolean;
        applyAdornments(specs: AdornmentSpec[]): Promise<void>;
        getFixtureBoundaries(): Boundary[];
        getFixtureLightSources(): (Stuff & Adornment)[];
        getFixtures(): readonly (Stuff & Adornment)[];
        getFixtureSmellSources(): (Stuff & Adornment)[];
        getFixtureSoundSources(): (Stuff & Adornment)[];
        hasFixture(f: Stuff & Adornment): boolean;
        removeFixture(f: Stuff & Adornment): boolean;
    }
    Index

    Methods

    • Attach a fixture. If slotName is omitted, the fixture is keyed with the next synthetic name (fixture:1, fixture:2, …) — the counter is instance-local and runtime-only. Returns false if the fixture is already attached.

      Parameters

      Returns boolean

    • Parameters

      Returns Promise<void>

      Invoked by the Hydrator's Phase-2 instruction dispatch from a template's adornments field. Instruction applier — clones each spec's template and attaches it as a fixture via addFixture; the spec is not retained and there is no paired getter (the live fixtures are read via getFixtures()). Fixtures are runtime-only, so this re-runs and rebuilds them on every hydrate (the BoundaryAnchor reconstruction model).