API

Interface SceneHtmlTwinOptions

Options for mounting a scene's HTML representation.

interface SceneHtmlTwinOptions {
    label?: string;
    parent?: HTMLElement;
    roots?: readonly SceneSource[];
}

Hierarchy (View Summary)

Index
label?: string

Accessible name of the generated region.

parent?: HTMLElement

Host for the generated region. Defaults to the DOM canvas's parent element.

roots?: readonly SceneSource[]