AutoMovie API
    Preparing search index...

    Interface IAutoMovieFormationReform

    The arrangement a unit is travelling toward, and how far along it is.

    Carried beside the sampled state rather than inside it, because from and to are what an author writes and a re-form is a property of the cue rather than of either end: a cue states one target arrangement, and both its ends describe the same unit standing in different places. progress is the cue's own eased progress, so a re-form bends on the curve its author declared and not on a second one.

    After the cue ends, sampleFormationMotion keeps the reform with progress at 1, and later cues that declare no layout carry it unchanged, so a unit stays re-formed until another cue names a layout.

    interface IAutoMovieFormationReform {
        fromLayout?: IAutoMovieFormationLayout;
        layout: IAutoMovieFormationLayout;
        progress: number;
    }
    Index

    Previous completed arrangement; absent starts at the formation design.

    The arrangement the unit is in when the cue ends, in the unit's own frame.

    progress: number

    Eased fraction of the way there: 0 at the cue's start, 1 at its end, and held at 1 afterwards.