Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RockAnimation

Rock animation. Rock around an axis.

Hierarchy

Index

Constructors

constructor

Properties

alpha

alpha: number

angleEnd

angleEnd: number

angleStep

angleStep: number

angleSum

angleSum: number = 0

axis

axis: Vector3

controls

controls: ViewerControls

direction

direction: number = 1

duration

duration: number

elapsedDuration

elapsedDuration: number = 0

ignoreGlobalToggle

ignoreGlobalToggle: boolean = false

pausedDuration

pausedDuration: number = 0

pausedTime

pausedTime: number = -1

startTime

startTime: number

Accessors

done

  • get done(): boolean

paused

  • get paused(): boolean

Methods

_init

  • _init(axis: number[] | Vector3, angleStep: number, angleEnd: number): void

_tick

  • _tick(stats: Stats): 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