public class FloatAction extends TemporalAction
Constructor and Description |
---|
FloatAction()
Creates a FloatAction that transitions from 0 to 1.
|
FloatAction(float start,
float end)
Creates a FloatAction that transitions from start to end.
|
FloatAction(float start,
float end,
float duration)
Creates a FloatAction that transitions from start to end.
|
FloatAction(float start,
float end,
float duration,
Interpolation interpolation)
Creates a FloatAction that transitions from start to end.
|
Modifier and Type | Method and Description |
---|---|
float |
getEnd() |
float |
getStart() |
float |
getValue()
Gets the current float value.
|
void |
setEnd(float end)
Sets the value to transition to.
|
void |
setStart(float start)
Sets the value to transition from.
|
void |
setValue(float value)
Sets the current float value.
|
act, finish, getDuration, getInterpolation, getTime, isReverse, reset, restart, setDuration, setInterpolation, setReverse, setTime
public FloatAction()
public FloatAction(float start, float end)
public FloatAction(float start, float end, float duration)
public FloatAction(float start, float end, float duration, Interpolation interpolation)
public float getValue()
public void setValue(float value)
public float getStart()
public void setStart(float start)
public float getEnd()
public void setEnd(float end)
Copyright © 2018. All rights reserved.