@3dsource/metabox-front-api
    Preparing search index...

    Interface Environment

    Represents an environment with associated media and configuration.

    Internal interface for environment data model used by MetaBox.

    Environment data model: id, title, udsEnabled (dynamic sky toggle), sunNorthYaw, udsHour (time of day for dynamic sky), thumbnailList (preview images), and slots (configurable material slots). Use to build environment/scene picker UIs.

    Access environment definitions from the configuratorDataUpdated envelope. Use thumbnailList for preview cards. Check udsEnabled to know if time-of-day controls are available. Iterate slots array to build environment material pickers.

    interface Environment {
        __typename: "Environment";
        id: string;
        slots: Slot[];
        sunNorthYaw: number;
        thumbnailList: Thumbnail[];
        title: string;
        udsEnabled: boolean;
        udsHour: number;
    }
    Index

    Properties

    __typename: "Environment"

    Represents object typename for the environment.

    id: string

    Unique identifier for the environment.

    slots: Slot[]

    List of slots for the environment (optional).

    sunNorthYaw: number

    The north yaw of the sun in the environment.

    thumbnailList: Thumbnail[]

    List of thumbnails for the environment (optional).

    title: string

    Title or name of the environment.

    udsEnabled: boolean

    Flag indicating if UDS is enabled.

    udsHour: number

    The UDS hour setting for the environment.