Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TweenSystem

Tween system.

Hierarchy

  • System
    • TweenSystem

Implements

Index

Properties

Protected _executeInEditMode

_executeInEditMode: boolean = false

Protected _id

_id: string = ""

Protected _priority

_priority: number = 0

Private Readonly actionMgr

actionMgr: ActionManager = new ActionManager()

Static Readonly ID

ID: "TWEEN" = "TWEEN"

The ID flag of the system.

Static Readonly instance

instance: TweenSystem

Gets the instance of the tween system.

Accessors

ActionManager

  • get ActionManager(): ActionManager

id

  • get id(): string
  • set id(id: string): void

priority

  • get priority(): number
  • set priority(value: number): void

Methods

init

  • init(): void

postUpdate

  • postUpdate(dt: number): void

update

  • update(dt: number): void
  • Update function of the system, it will be invoked between all components update phase and late update phase.

    Parameters

    • dt: number

      Delta time after the last frame

    Returns void

Static sortByPriority

  • sortByPriority(a: System, b: System): 1 | 0 | -1

Generated using TypeDoc