AutoMovie API
    Preparing search index...

    Interface IAutoMovieViewerSubjectViewRequest

    Borrowed scene, mutable camera, renderer and supplied subject/pose for synchronous inspection capture. Population resolution is required before drawing; the callback must actually resolve the supported scene population.

    interface IAutoMovieViewerSubjectViewRequest {
        camera: PerspectiveCamera;
        pose: IAutoMovieViewerSubjectPose;
        renderer: IAutoMovieViewerSnapshotRenderer;
        resolveForCamera: (
            camera: PerspectiveCamera,
            viewportHeight: number,
        ) => void;
        scene: Scene;
        snapshot?: IAutoMovieViewerSnapshotOptions;
        subject: IAutoMovieViewerSubject;
        viewpoint?: string | null;
    }
    Index
    camera: PerspectiveCamera

    Camera the pose is written onto and the frame is drawn through.

    Pose to render from.

    Renderer that draws and reads the frame back.

    resolveForCamera: (camera: PerspectiveCamera, viewportHeight: number) => void

    Resolve the scene's supported compact populations against the applied camera world matrix and actual canvas height before drawing. The required callback must implement that work; its presence alone does not establish population completeness.

    scene: Scene

    Scene holding the subject.

    Image encoding options handed to the snapshot.

    Subject being looked at.

    viewpoint?: string | null

    Planned viewpoint identity, when the pose came from a plan.