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

    Class TweenState

    The playback state of one tween of an instance. The values come from the shared definition; only the positions are per instance.

    Index
    _stepPosition: number

    Distance from the start of the current step (synched children take their frame from it)

    passive: boolean
    position: number
    rawPosition: number
    self: MovieClip
    target: object

    What the tween writes to: a display object or a filter (through their accessors), or the plain object published code tweens state arrays on

    • get duration(): number

      Returns number

    • AbstractTween._runActions for this tween's actions

      Parameters

      • startRaw: number
      • endRaw: number
      • jump: boolean
      • includeStart: boolean

      Returns boolean

    • Tween._runActionsRange: runs the actions in the range, stopping when one moves the tween

      Parameters

      • start: number
      • end: number
      • jump: boolean
      • includeStart: boolean

      Returns boolean

    • Tween.setPosition as a timeline drives it (actions are run separately by the timeline). Nothing happens when the raw position does not change.

      Parameters

      • rawPosition: number
      • jump: boolean

      Returns void