Tints a Node that implements the NodeRGB protocol from current tint to a custom one.
More...
#include <ActionInterval.h>
Inherits ActionInterval.
|
| void | update (float time) override |
|
bool | initWithDuration (float duration, const Color32 &color) |
| | initializes the action with duration and color
|
| float | getElapsed () |
| | How many seconds had elapsed since the actions started to run.
|
| void | setAmplitudeRate (float amp) |
| | Sets the amplitude rate, extension in GridAction.
|
| float | getAmplitudeRate () |
| | Gets the amplitude rate, extension in GridAction.
|
| void | step (float dt) override |
|
bool | initWithDuration (float d) |
| | initializes the action
|
|
| static TintTo * | create (float duration, uint8_t r, uint8_t g, uint8_t b) |
| | Creates an action with duration and color.
|
Tints a Node that implements the NodeRGB protocol from current tint to a custom one.
- Warning
- This action doesn't support "reverse"
- Since
- v0.7.2
◆ create()
| TintTo * create |
( |
float | duration, |
|
|
uint8_t | r, |
|
|
uint8_t | g, |
|
|
uint8_t | b ) |
|
inlinestatic |
Creates an action with duration and color.
- Parameters
-
| duration | Duration time, in seconds. |
| color | It's a Color32 type. |
- Returns
- An autoreleased TintTo object.
◆ update()
| void update |
( |
float | time | ) |
|
|
override |
The documentation for this class was generated from the following file: