@tawaship/pixi-animate-runtime - v0.1.0
    Preparing search index...

    Interface IRuntimeTweenDef

    interface IRuntimeTweenDef {
        actions: IRuntimeActionDef[];
        duration: number;
        frames: number[];
        keyframes: number[];
        props: string[];
        target: TTargetDef;
        values: TFrameValue[][];
        writer: number | null;
    }

    Hierarchy

    • Omit<ITweenDef, "actions" | "frames">
      • IRuntimeTweenDef
    Index
    duration: number

    Length in frames: the tween has positions 0 to duration

    frames: number[]

    For every position, the index of its values in values (a position holding the same values as another shares them)

    keyframes: number[]

    Start positions of the tween's steps, in order. createjs derives the frame of a SYNCHED / SINGLE_FRAME child placed by this tween from the distance between the current position and the start of the step containing it (the last step whose start is at or before the position).

    props: string[]

    The properties this tween writes, i.e. its managed properties

    target: TTargetDef

    What the tween writes to

    values: TFrameValue[][]

    The tween's distinct frame values (each the values of its props, in order)

    writer: number | null

    Index into the runtime content's writer list: the function that writes a frame's values (values[frames[position]]) to the target, one property after another by name (null when the tween writes no property)