AutoMovie API
    Preparing search index...

    Function resolveCameraAt

    • A camera's world placement at shot-local time: its staged base transform when the shot has no camera move, else the move's translation and rotation tracks for the camera node sampled at time.

      A move that lacks one of the two tracks takes that component from the base. Sampling follows sampleClip: time is clamped to the clip, or wrapped when it loops, and an invalid time or a duplicated track throws. A component taken from the base is the base's own object, not a copy.

      Parameters

      • base: IAutoMovieResolveCameraAt.IBase

        The staged camera node's translation and rotation.

      • cameraMotion: IAutoMovieClip | null

        The shot's camera clip, or null for a static camera.

      • cameraId: string

        Node id whose tracks are read from the clip.

      • time: number

        Shot-local seconds.

      Returns IAutoMovieResolvedCamera

      The lens position in metres and its world rotation.