Preparing search index...

    Enumeration PlaybackMode

    Enumeration of animation playback modes.

        // PlaybackMode is set on an AnimationClip to control how it plays.
    // Use Loop for a clip that should repeat continuously.
    const model = this.pluginSystem.findInterface(Editor.Model.IModel) as Editor.Model.IModel;
    const scene = model.project.scene;

    const clip = Editor.createAnimationClip(scene);
    clip.playbackMode = Editor.PlaybackMode.Loop;
    Index

    Enumeration Members

    Enumeration Members

    Loop: number

    Plays the animation repeatedly from the beginning after each cycle.

    PingPong: number

    Plays the animation forward then in reverse, alternating each cycle.

    Single: number

    Plays the animation once and stops at the last frame.