Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NgxThreeClock

Three clock

See the ngx3js docs page for details.

Hierarchy

Index

Constructors

constructor

constructor

Properties

autoStart

autoStart: boolean

If set, starts the clock automatically when the first update is called. Default is true.

default

true

elapsedTime

elapsedTime: number

Keeps track of the total time that the clock has been running.

default

0

oldTime

oldTime: number

Holds the time at which the clock's start, getElapsedTime or getDelta methods were last called.

default

0

running

running: boolean

Whether the clock is running or not.

default

false

startTime

startTime: number

Holds the time at which the clock's start method was last called.

default

0

Static autoStart

autoStart: boolean

If set, starts the clock automatically when the first update is called. Default is true.

default

true

Static elapsedTime

elapsedTime: number

Keeps track of the total time that the clock has been running.

default

0

Static oldTime

oldTime: number

Holds the time at which the clock's start, getElapsedTime or getDelta methods were last called.

default

0

Static running

running: boolean

Whether the clock is running or not.

default

false

Static startTime

startTime: number

Holds the time at which the clock's start method was last called.

default

0

Methods

getDelta

  • getDelta(): number

getElapsedTime

  • getElapsedTime(): number

getTimer

start

  • start(): void

stop

  • stop(): void

Static getDelta

  • getDelta(): number

Static getElapsedTime

  • getElapsedTime(): number

Static start

  • start(): void

Static stop

  • stop(): void

Generated using TypeDoc