AutoMovie API
    Preparing search index...

    Interface IAutoMovieViewerCompletedFrame

    The original scene/camera at an owning producer's completed draw boundary. A controller, when supplied, owns typed state capture/restoration. Consumers observe synchronously and must not treat requested state as rendered facts.

    interface IAutoMovieViewerCompletedFrame {
        camera: Camera;
        changed?: boolean;
        control?: {
            capture: () => unknown;
            freeze?: () => () => void;
            redraw?: () => void;
            restore: (state: unknown) => void;
        };
        elapsedSeconds?: number;
        facts?: object;
        pass: string;
        requiresApplication?: boolean;
        scene: Scene;
    }
    Index
    camera: Camera

    Native camera used by the original draw; composite layer cameras belong in facts.

    changed?: boolean

    True when the producer's native controls or model/display transitions changed this view, including an explicit redraw. False marks an idle draw whose exact facts still remain observable; absent preserves eager saving. Application-document changes independently require updated display facts.

    control?: {
        capture: () => unknown;
        freeze?: () => () => void;
        redraw?: () => void;
        restore: (state: unknown) => void;
    }

    Actual application controller; its state is serialized only by its owner.

    Type Declaration

    • capture: () => unknown

      Capture application-owned state corresponding to the live completed view.

    • Optionalfreeze?: () => () => void

      Hold animation while retaining the completed view. Nested leases release independently; only the last normal release resumes the owning clock. Explicit redraw/restoration remains available during the hold.

    • Optionalredraw?: () => void

      Synchronously redraw through the original producer or report failure.

    • restore: (state: unknown) => void

      Restore only states admitted by this application's controller.

    elapsedSeconds?: number

    Seconds of this completed producer state, when its owner exposes a clock. Idle requests do not advance it; a guide redraw preserves the last time. Absence means no clock was supplied, rather than an observed zero.

    facts?: object

    Additional actual frame facts supplied by a handled-composite owner.

    pass: string

    Pass actually drawn, including the original producer's handled composite.

    requiresApplication?: boolean

    Numerical editors require their application transaction before admission.

    scene: Scene

    Original drawn scene; composite facts retain each layer's observed objects.