Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RotateAnimation

Rotate animation. Rotate from one orientation to another.

Hierarchy

Index

Constructors

constructor

Properties

Private _currentRotation

_currentRotation: Quaternion = new Quaternion()

alpha

alpha: number

controls

controls: ViewerControls

duration

duration: number

elapsedDuration

elapsedDuration: number = 0

ignoreGlobalToggle

ignoreGlobalToggle: boolean = false

pausedDuration

pausedDuration: number = 0

pausedTime

pausedTime: number = -1

rotateFrom

rotateFrom: Quaternion

rotateTo

rotateTo: Quaternion

startTime

startTime: number

Accessors

done

  • get done(): boolean

paused

  • get paused(): boolean

Methods

_init

  • _init(rotateFrom: number[] | Quaternion, rotateTo: number[] | Quaternion): 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