EngineAlpha
JVM
EngineAlpha
/
ea.animation
/
ValueAnimator
Value
Animator
open
class
ValueAnimator
<
Value
>
Members
Constructors
Value
Animator
Link copied to clipboard
constructor
(
duration
:
Float
,
consumer
:
Consumer
<
Value
>
,
interpolator
:
Interpolator<Value>
,
mode
:
AnimationMode
,
parent
:
FrameUpdateListenerContainer
)
constructor
(
duration
:
Float
,
consumer
:
Consumer
<
Value
>
,
interpolator
:
Interpolator<Value>
,
parent
:
FrameUpdateListenerContainer
)
Functions
add
Completion
Listener
Link copied to clipboard
open
fun
addCompletionListener
(
listener
:
Consumer
<
Value
>
)
:
ValueAnimator
<
Value
>
is
Paused
Link copied to clipboard
open
fun
isPaused
(
)
:
Boolean
Gibt an, ob der Animator pausiert ist.
on
Frame
Update
Link copied to clipboard
open
fun
onFrameUpdate
(
deltaSeconds
:
Float
)
set
Paused
Link copied to clipboard
open
fun
setPaused
(
paused
:
Boolean
)
Setzt, ob die ValueAnimation pausiert werden soll.
set
Progress
Link copied to clipboard
open
fun
setProgress
(
progress
:
Float
)
Setzt den aktuellen Fortschritt des Animators händisch.