|
using | ValueList = std::array< float, ValueCount > |
|
using | UpdateFn = std::function< void(int, const ValueList &)> |
|
◆ onUpdate()
template<std::size_t ValueCount>
Set the function that will be called with an array of animation values once per frame. updateFn
is public, so you can also just assign to it directly.
- Parameters
-
◆ updateFn
template<std::size_t ValueCount>
function to call on each frame. Pass in std::array of new values, return true if all is okay, false to cancel this animation.
The documentation for this class was generated from the following file: