BIM.works SDKs - v3.0.0-beta.168
    Preparing search index...

    A transition submitted with ObjectStateManager.transition

    interface Transition {
        finished: Promise<"stopped" | "finished">;
        started: Promise<void>;
        stop(how?: TransitionEnd): void;
    }
    Index

    Properties

    Methods

    Properties

    finished: Promise<"stopped" | "finished">

    Settles once the transition has ended: "finished" when it played to its end (every viewer that animates has drawn its last frame), "stopped" when stop(), stopTransitions() or a replacing transition ended it. Rejects when one of its queries fails

    started: Promise<void>

    Settles once its first step's changes are in the manager's sets (the picture then catches up), or once it ended without starting; never rejects

    Methods

    • Stops it, running or still waiting; how: default its onStop. "end": as if it had played, the rest of its steps at once (a waiting one in its turn, after the transitions ahead of it). "start": what it changed and nothing changed since goes back to how it was before it. "current": stays as it shows (camera, colours between two fixed colours or two transparencies exactly; a fade as a transparency; the rest at the nearer end); a waiting transition with "start" or "current" changes nothing

      Parameters

      Returns void