AutoMovie API
    Preparing search index...

    Interface IAutoMovieShotContractSubjectReader

    Where the subjects a shot contract names stand in its compiled artifacts, at any shot-local second, built once per realizeShotContract call by createShotContractSubjectReader.

    Every lookup by id takes the first record carrying that id, so a duplicated id grades against its first record and stays the artifact validators' refusal. A node's world placement at a second is its staged transform, each of translation, rotation and scale overridden by the object-motion channel active then, with a rigged node's posed root folded in at identity scale. A method that cannot place what it was asked about throws an Error naming the missing node, rig, motion, landmark or formation; the grade catches it and records the predicate or camera subject as failing rather than guessing a position.

    interface IAutoMovieShotContractSubjectReader {
        formation(id: string): IAutoMovieCompiledFormation | undefined;
        node(id: string): IAutoMovieSceneNode | undefined;
        performance(node: string): IAutoMovieShotPerformance | undefined;
        placementAt(subject: string, time: number): IAutoMovieTransform;
        poseAt(node: IAutoMovieSceneNode, time: number): IAutoMoviePose;
        skeleton(node: IAutoMovieSceneNode): IAutoMovieSkeleton | null;
        spatialAt(
            selector: IAutoMovieShotSpatialSelector,
            time: number,
        ): IAutoMovieVector3;
        subjectBox(
            subject: string,
            placement: IAutoMovieTransform,
            time: number,
        ): IAutoMovieSubjectBox;
    }
    Index
    • The world box a required camera subject fills at a shot-local second, measured the way the camera solve measured it.

      A node is its drawn model-space box from nodeSubjectExtent carried through placement by nodeSubjectBox; its model's rest geometry is the source, its rig's joint span stands in without a model, and the stand-in height without either. The floor and width of the drawn box are kept because the solve raised its aim and stood back by them. A formation is its whole transformed footprint from formationSubjectBox at time, widened by a member's radius and raised by a member's height.

      Parameters

      Returns IAutoMovieSubjectBox