phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias TweenFrameDataConfig

    type TweenFrameDataConfig = {
        delay?: number;
        duration?: number;
        elapsed?: number;
        flipX?: boolean;
        flipY?: boolean;
        gen?: TweenDataGenConfig;
        hold?: number;
        index: number;
        key: string;
        progress?: number;
        repeat?: number;
        repeatCounter?: number;
        repeatDelay?: number;
        state?: StateType;
        target: any;
        totalDuration?: number;
    }
    Index

    Properties

    delay?: number

    Time in milliseconds before tween will start.

    duration?: number

    Duration of the tween in milliseconds, excludes time for yoyo or repeats.

    elapsed?: number

    Delta counter

    flipX?: boolean

    Automatically call toggleFlipX when the TweenData yoyos or repeats

    flipY?: boolean

    Automatically call toggleFlipY when the TweenData yoyos or repeats

    LoadValue generation functions.

    hold?: number

    Time in milliseconds the tween will pause before running the yoyo or starting a repeat.

    index: number

    The target index within the Tween targets array.

    key: string

    The property of the target being tweened.

    progress?: number

    Between 0 and 1 showing completion of this TweenData.

    repeat?: number

    Number of times to repeat the tween. The tween will always run once regardless, so a repeat value of '1' will play the tween twice.

    repeatCounter?: number

    How many repeats are left to run?

    repeatDelay?: number

    Time in milliseconds before the repeat will start.

    state?: StateType

    TWEEN_CONST.CREATED

    target: any

    The target to tween.

    totalDuration?: number

    The total calculated duration of this TweenData (based on duration, repeat, delay and yoyo)