Hierarchy (View Summary)

Constructors

Properties

isTransition: true

Accessors

  • get delayLeft(): number
  • Delay left of in-progress transition (in seconds)

    Returns number

    Valid only while transition is in-progress.

  • get p(): number
  • Current progress of transition

    Returns number

    This is a value between 0 (start of transition) and 1 (end of transition)

  • get startValue(): number
  • Start value of the in-progress transition

    Returns number

    Valid only while transition is in-progress.

  • get targetValue(): number
  • Target value of the in-progress transition

    Returns number

    Valid only while transition is in-progress.

Methods

  • Sets the transition at a specific point in time

    Parameters

    • targetValue: number
    • p: number

      Progress value between 0 and 1

    Returns void

  • Update the target value while keeping the current progress and value

    Parameters

    • targetValue: number

    Returns void