AutoMovie API
    Preparing search index...

    One shot's lights at one shot-local instant, with the production's sources inherited at the story moment the shot's pin places that instant at.

    With no production lighting, or for a shot carrying no story pin, the staged lights come back unchanged in a new array, element by element. A film that says nothing about production light therefore renders the frames it always did, and an unpinned shot is never assigned a story moment it did not claim.

    Otherwise the production is resolved at autoMovieStoryTime(pin, seconds) and merged by light id:

    • A staged light whose id a production source shares is replaced in place by that source, so the scene says which of the production's lights it stands under and the production owns the values.
    • A production source no staged light names is appended after the staged lights, in declaration order, so a film states its source once instead of every scene re-declaring it.

    The current production assembly caller evaluates this helper once at shot time zero. The result is an opening snapshot, not a continuously resampled production-light track; the shot's own lightMotions subsequently animate that snapshot. Returned light objects are staged or resolved objects themselves, not copies.

    type IProps = {
        lighting: IAutoMovieProductionLighting | null;
        lights: readonly IAutoMovieLight[];
        pin: IAutoMovieShotStoryTime | null;
        seconds: number;
    }
    Index

    The production's declared sources, or null when it declares none.

    lights: readonly IAutoMovieLight[]

    The shot's scene lights, in staging order.

    Where the shot sits on the story clock, or null when it is unpinned.

    seconds: number

    The instant to evaluate, in shot-local seconds.