Run the built animation. Advances through sequence, returns true when all done.
More...
#include <animator_set.hpp>
Run the built animation. Advances through sequence, returns true when all done.
◆ Runner()
| pulp::view::AnimatorSetBuilder::Runner::Runner |
( |
std::vector< std::unique_ptr< AnimationStep > > | steps, |
|
|
std::string | name = {} ) |
|
inlineexplicit |
◆ advance()
| bool pulp::view::AnimatorSetBuilder::Runner::advance |
( |
float | dt | ) |
|
|
inline |
◆ finished()
| bool pulp::view::AnimatorSetBuilder::Runner::finished |
( |
| ) |
const |
|
inline |
◆ motion_provenance()
| const motion::Provenance & pulp::view::AnimatorSetBuilder::Runner::motion_provenance |
( |
| ) |
const |
|
inlinenoexcept |
◆ publish()
| void pulp::view::AnimatorSetBuilder::Runner::publish |
( |
std::string | view_name, |
|
|
std::string | metric_name, |
|
|
double | value, |
|
|
motion::PublishOptions | opts = {} ) const |
|
inline |
Publish the runner's current scalar through the motion publish channel, stamping the animator-set name (configured via AnimatorSetBuilder::name()) as provenance.
◆ reset()
| void pulp::view::AnimatorSetBuilder::Runner::reset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: