LUX-VIEW - v1.0.0
    Preparing search index...

    Interface IDefaultViewerSettings

    interface IDefaultViewerSettings {
        configAssetId: string;
        initialFade?: { color: string; time: number };
    }
    Index

    Properties

    configAssetId: string

    Required. The ID of the configuration asset.

    initialFade?: { color: string; time: number }

    Optional. Fades the scene in from a solid color when it first appears. The render buffer is instantly painted to color, then fades through to the rendered scene over time ms.

    Only the incoming fade is handled. When switching from one viewer to another, call lux.fadeOut(time, color) before lux.getDefaultViewer(...) to bridge the transition smoothly — otherwise the previous scene cuts to color instantly.