可以配置的 默认一般移动 1.8M/S 旋转90度一般3.5s 不过移动1.8M/S是最大速度 一般,这个可以配置

Hierarchy

Constructors

Properties

N: number = 100

count of tick this animation would take to finish it.

addedAt: number = 0
delay: number
duration: any = null
globalConstMgr: GlobalConstManager = null
id: number = ...
lastElapse: number = null

last elapse (unit: ms)

linear: LinearLine2D

next animation after this finished.

startAt: any = null
state: AnimationState = AnimationState.init
t: number = 0

Time sequence, tick

value: {
    lat: number;
    lng: number;
}

Type declaration

  • lat: number
  • lng: number

Methods

  • Returns boolean or void.

    1. if it's boolean: true means it'll continue running, false means it would be stopped.
    2. if it's void: just keep running util timeout.

    Parameters

    • elapse: number
    • dt: number
    • t: number

    Returns void

Generated using TypeDoc