AutoMovie API
    Preparing search index...

    Variable sampleFormationSlotMotionConst

    sampleFormationSlotMotion: (
        motions: readonly IAutoMovieFormationSlotMotion[],
        formation: string,
        slot: number,
        time: number,
    ) => IAutoMovieFormationSlotState = ...

    Sample what one named member of a unit is doing differently at one time.

    The unit-level sampler answers for the whole crowd at once; this answers for one member of it. The retention law is deliberately the same one: identity before the first cue that names this slot, interpolation inside a cue, and the cue's exact to state retained after it ends. That is what lets a member removed once stay removed, and a member that fell stay down, without the author restating either every second of the shot.

    present is not interpolated, because half-drawn is not a state a member can be in. Inside a cue the member holds from.present; from the cue's end it holds to.present, which the retention above already carries. So a cue whose from is present and whose to is not takes its member out of the shot at the cue's end, and one absent at both ends takes it out at the cue's start.

    Selection scans all supplied cues and their slot lists before sorting matches by start and code-unit id. Identity and retained states alias module/input records; consumers must treat returned states as read-only.

    Type Declaration