Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MoveAnimation

Move animation. Move from one position to another.

Hierarchy

Index

Constructors

constructor

Properties

alpha

alpha: number

controls

controls: ViewerControls

duration

duration: number

elapsedDuration

elapsedDuration: number = 0

ignoreGlobalToggle

ignoreGlobalToggle: boolean = false

moveFrom

moveFrom: Vector3

moveTo

moveTo: Vector3

pausedDuration

pausedDuration: number = 0

pausedTime

pausedTime: number = -1

startTime

startTime: number

Accessors

done

  • get done(): boolean

paused

  • get paused(): boolean

Methods

_init

  • _init(moveFrom: number[] | Vector3, moveTo: number[] | Vector3): void

_tick

  • _tick(): void

pause

  • pause(hold?: undefined | true | false): void

resume

  • resume(releaseHold?: undefined | true | false): void

then

  • then(callback: Function): Promise<any>

tick

  • tick(stats: Stats): undefined | true | false

toggle

  • toggle(): void

Generated using TypeDoc