|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kakshya::CursorAccessProcessor::set_repeat | ( | const std::shared_ptr< const Kinesis::TimeMap > & | length | ) |
Restart the time map over and over, with a length that can change.
Needs a time map. The length map takes seconds since the last reset() and returns how long, in seconds, the repeat that starts then should last. It is evaluated once per repeat. Each repeat restarts the time map from zero and plays its first stretch of that length, with the jump back exact to the frame, so a shrinking length gives a stutter or bouncing repeat. Passing the map already set is a no-op.
| length | Repeat length in seconds, or null for no repeating. |
Definition at line 259 of file CursorAccessProcessor.cpp.
References length, m_repeat, m_repeat_length, and m_repeat_start.