diff options
Diffstat (limited to 'morpher/src/morphmesh.h')
| -rw-r--r-- | morpher/src/morphmesh.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/morpher/src/morphmesh.h b/morpher/src/morphmesh.h index 5293f9d..bc22c3d 100644 --- a/morpher/src/morphmesh.h +++ b/morpher/src/morphmesh.h @@ -67,12 +67,17 @@ class sequence //sequencer keeps track of playback time and start/stop of sequences //tracks is a map of time,value pairs - built in interpolation via multimap public: - sequence(string _name="",float _length=1.0,float _fadeinTime=0.0,float _fadeoutTime=0.0); + sequence(string _name="",float _length=1.0,float _fadeinTime=-2.0,float _fadeoutTime=-2.0); string name; map<string,track> tracks; vector<morphWeight> evaluate(float time); + void reset(); void start(); void stop(); + void startAt(float time); + void stopAt(float time); + void fadein(float time); + void fadeout(float time); float length; float startTime; float stopTime; |
