⚠️ This documentation corresponds to the latest development branch of axmol. It might diverge from the official releases.
|
Axmol Engine 3.0.0-dff292a
|
The delegate class for ActionTween. More...
#include <ActionTween.h>
Public Member Functions | |
| virtual | ~ActionTweenDelegate () |
| @lua NA | |
| virtual void | updateTweenAction (float value, std::string_view key)=0 |
| The callback function when ActionTween is running. | |
The delegate class for ActionTween.
If you want to use ActionTween on a node. You should implement the node follow these steps:
Then once you running ActionTween on the node, the method updateTweenAction will be invoked.
|
pure virtual |
The callback function when ActionTween is running.
| value | The new value of the specified key. |
| key | The key of property which should be updated. |