| Modifier and Type | Field and Description |
|---|---|
| private float | |
| private float | |
| private float |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | FloatAction(float start, float end, float duration)
Creates a FloatAction that transitions from start to end. |
| public | FloatAction(float start, float end, float duration, Interpolation interpolation)
Creates a FloatAction that transitions from start to end. |
| Modifier and Type | Method and Description |
|---|---|
| protected void | begin()
Overrides com. Called the first time |
| public float | |
| public float | |
| public float | |
| public void | |
| public void | |
| public void | |
| protected void | update(float percent)
Implements abstract com. Called each frame. |
| end | back to summary |
|---|---|
| private float end | |
| start | back to summary |
|---|---|
| private float start | |
| value | back to summary |
|---|---|
| private float value | |
| FloatAction | back to summary |
|---|---|
| public FloatAction() Creates a FloatAction that transitions from 0 to 1. | |
| FloatAction | back to summary |
|---|---|
| public FloatAction(float start, float end) Creates a FloatAction that transitions from start to end. | |
| FloatAction | back to summary |
|---|---|
| public FloatAction(float start, float end, float duration) Creates a FloatAction that transitions from start to end. | |
| FloatAction | back to summary |
|---|---|
| public FloatAction(float start, float end, float duration, Interpolation interpolation) Creates a FloatAction that transitions from start to end. | |
| begin | back to summary |
|---|---|
| protected void begin() Overrides com. Doc from com. Called the first time | |
| getEnd | back to summary |
|---|---|
| public float getEnd() | |
| getStart | back to summary |
|---|---|
| public float getStart() | |
| getValue | back to summary |
|---|---|
| public float getValue() Gets the current float value. | |
| setEnd | back to summary |
|---|---|
| public void setEnd(float end) Sets the value to transition to. | |
| setStart | back to summary |
|---|---|
| public void setStart(float start) Sets the value to transition from. | |
| setValue | back to summary |
|---|---|
| public void setValue(float value) Sets the current float value. | |
| update | back to summary |
|---|---|
| protected void update(float percent) Implements abstract com. Doc from com. Called each frame. | |