AutoMovie API
    Preparing search index...

    Function sortProductionFilmEffectCues

    • Order film effect cues by start frame, then by code-unit cue id.

      This is the one order a runtime population is written in and verified against. The materializer and the population verifier both read it here, so the order a builder persists cannot drift from the order a consumer checks. Integer frames and code units decide it, so neither host sort nor locale can reorder a runtime. The input array is left untouched; a new array is returned.

      Parameters

      • cues: {
            durationFrames: number;
            id: string;
            intensity: number;
            recipe: "world-zone";
            startFrame: number;
            zone: string;
        }[]
        • durationFrames: number

          Number of film-global frames occupied by the effect.

        • id: string

          Stable authored effect cue id.

        • intensity: number

          Recipe intensity carried into the compiled effect population.

        • recipe: "world-zone"

          Closed deterministic effect recipe.

        • startFrame: number

          Inclusive film-global effect frame.

        • zone: string

          Named world zone admitted by the compiler.

      Returns {
          durationFrames: number;
          id: string;
          intensity: number;
          recipe: "world-zone";
          startFrame: number;
          zone: string;
      }[]

      • durationFrames: number

        Number of film-global frames occupied by the effect.

      • id: string

        Stable authored effect cue id.

      • intensity: number

        Recipe intensity carried into the compiled effect population.

      • recipe: "world-zone"

        Closed deterministic effect recipe.

      • startFrame: number

        Inclusive film-global effect frame.

      • zone: string

        Named world zone admitted by the compiler.