toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.time
/
TimeSampler
Time
Sampler
class
TimeSampler
(
var
timeWindow
:
TimeSpan
=
1.seconds
)
Class to count the number of times a sample was added in a timeWindow
Members
Constructors
Time
Sampler
Link copied to clipboard
constructor
(
timeWindow
:
TimeSpan
=
1.seconds
)
Properties
count
Link copied to clipboard
val
count
:
Int
time
Window
Link copied to clipboard
var
timeWindow
:
TimeSpan
Functions
add
Link copied to clipboard
fun
add
(
)