KitePlayer
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
KitePlayer
kiteplayer-audioviz
/
io.github.yuroyami.kiteplayer.audioviz.viz.motion
/
Slew
Slew
class
Slew
(
maxPerSecond
:
Float
,
initial
:
Float
=
0.0f
)
Stops a value moving faster than
maxPerSecond
. Useful for anything a viewer tracks by eye.
Members
Constructors
Slew
Link copied to clipboard
constructor
(
maxPerSecond
:
Float
,
initial
:
Float
=
0.0f
)
Properties
value
Link copied to clipboard
var
value
:
Float
Functions
advance
Link copied to clipboard
fun
advance
(
target
:
Float
,
deltaSeconds
:
Float
)
:
Float
reset
Link copied to clipboard
fun
reset
(
to
:
Float
=
0.0f
)