|
|
typedef Function< void(Floats...)> | stepfunc |
| |
|
|
tweeny::tween< Floats... > | anim |
| |
◆ Tween()
Construct a Tween object
- Parameters
-
| step | the function to invoke on each step. |
| intialValue | the starting value, set to 0 if not passed. |
◆ AddKeyframe()
Add a keyframe to the animation
- Parameters
-
| value | the value for the keyframe |
| time | the time (in seconds) for this keyframe. |
| interpolation | the interpolation function to use |
◆ Step()
Perform one step of this animation. Note that adding more keys while an animation is playing will affect its playback
- Parameters
-
| scale | the timestep. Generally you want to simply pass the value from tick. |
The documentation for this class was generated from the following file: