Search
Preparing search index...
The search index is not available
magic-pixels
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
magic-pixels
Stopwatch
Class Stopwatch
Hierarchy
Stopwatch
Index
Constructors
constructor
Properties
_running
_start
Time
_total
Elapsed
Accessors
elapsed
Time
running
Methods
reset
start
stop
Constructors
constructor
new
Stopwatch
(
)
:
Stopwatch
Returns
Stopwatch
Properties
Private
_running
_running
:
boolean
= false
Private
_start
Time
_start
Time
:
number
= NaN
Private
_total
Elapsed
_total
Elapsed
:
number
= 0
Accessors
elapsed
Time
get
elapsedTime
(
)
:
number
Returns
number
running
get
running
(
)
:
boolean
Returns
boolean
Methods
reset
reset
(
)
:
Stopwatch
reset the stopwatch
Returns
Stopwatch
instance
start
start
(
)
:
Stopwatch
start the stopwatch
Returns
Stopwatch
instance
stop
stop
(
)
:
Stopwatch
stop the stopwatch
Returns
Stopwatch
instance
Exports
Mat2
Mat3
Mat4
Stopwatch
constructor
_running
_start
Time
_total
Elapsed
elapsed
Time
running
reset
start
stop
Generated using
TypeDoc
reset the stopwatch