From 1e10e507d20f7f38e65672ae1a5499b84b805e62 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Tue, 10 Apr 2012 16:57:56 +0100 Subject: sequence blending working --- morpher/src/morphmesh.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'morpher/src/morphmesh.h') 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 tracks; vector 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; -- cgit v1.2.3