dacha
    Preparing search index...

    Interface SceneLoadProgressEvent

    The world dispatches it while a scene loads: once when loading starts, and then after every step. A step is one media asset of the scene, or the onSceneLoad of one system.

    Event name: SceneLoadProgress from dacha/events.

    Hierarchy (View Summary)

    Index
    completed: number

    How many steps have finished. A media asset that failed counts too.

    currentTarget: EventTarget

    Current event target

    failed: number

    How many media assets failed to load.

    scene: Scene

    The scene that is loading.

    stopPropagation: () => void

    Function to stop the event propagation

    target: World

    Target of the event

    total: number

    How many steps the load has.

    type: EventType

    Type of the event