Structure

Methods and/or fields related to the stucture of the sequence, including methods related to the clips that make up the sequence and what timeline the sequence belongs to (if any).

Properties

Property Getter Methods

Methods that return objects that contain various internal fields of the sequence (such as autoplays from getTiming(), inProgress from getStatus(), etc.

Property Setter Methods

Methods that allow the modification of various internal fields of the sequence.

Accessors

Playback Methods

Methods that control the playback of the animation sequence.

Timing Event Methods

Methods that involve listening to the progress of the animation sequence to perform tasks at specific times.

Configuration

Methods and/or fields related to the configuration settings of the sequence.

Methods

Structure

  • Finds the index of a given AnimClip object within the sequence

    Parameters

    • animClip: AnimClip<Readonly<StripDuplicateMethodAutocompletion<{
          defaultConfig?: Partial<unknown>;
          effectCompositionFrequency?: "on-first-play-only" | "on-every-play";
          immutableConfig?: Partial<unknown>;
          composeEffect(...effectOptions: unknown[]): StripDuplicateMethodAutocompletion<{
              backwardKeyframesGenerator?: (() => Keyframes);
              backwardMutatorGenerator?: (() => Mutator);
              forwardKeyframesGenerator?: (() => Keyframes);
              forwardMutatorGenerator?: (() => Mutator);
              reverseKeyframesEffect?: boolean;
              reverseMutatorEffect?: boolean;
          }>;
      }>>, AnimClipConfig>

      the animation clip to search for within the sequence

    Returns number

    The index of animClip within the sequence or -1 if the clip is not part of the sequence.

  • Removes a number of AnimClip objects from the sequence based on the provided indices range (0-based).

    Parameters

    • startIndex: number

      the starting index, inclusive

    • endIndex: number = ...

      the ending index, exclusive

    Returns AnimClip<Readonly<StripDuplicateMethodAutocompletion<{
        defaultConfig?: Partial<unknown>;
        effectCompositionFrequency?: "on-first-play-only" | "on-every-play";
        immutableConfig?: Partial<unknown>;
        composeEffect(...effectOptions: unknown[]): StripDuplicateMethodAutocompletion<{
            backwardKeyframesGenerator?: (() => Keyframes);
            backwardMutatorGenerator?: (() => Mutator);
            forwardKeyframesGenerator?: (() => Keyframes);
            forwardMutatorGenerator?: (() => Mutator);
            reverseKeyframesEffect?: boolean;
            reverseMutatorEffect?: boolean;
        }>;
    }>>, AnimClipConfig>[]

    An array containing the clips that were removed from the sequence.

Properties

generateError: SequenceErrorGenerator = ...
id: number

Number that uniquely identifies the sequence from other sequences. Automatically generated.

Property Getter Methods

Property Setter Methods

Accessors

Playback Methods

Timing Event Methods

Configuration

Methods