|
| __init__ (self, function, duration=0.0, fromData=0, toData=1, blendType='noBlend', extraArgs=[], name=None) |
|
| privStep (self, t) |
| Evaluate function apply(self.function, [data] + self.extraArgs) self.state = CInterval.SStarted self.currT = t.
|
|
| __repr__ (self, indent=0) |
|
| clearToInitial (self) |
|
| finish (self) |
|
| getDoneEvent (self) |
|
| getDuration (self) |
|
| getLoop (self) |
|
| getName (self) |
|
| getOpenEnded (self) |
|
| getPlayRate (self) |
|
| getState (self) |
|
| getT (self) |
|
| intervalDone (self) |
|
| isPaused (self) |
|
| isPlaying (self) |
|
| isStopped (self) |
|
| loop (self, startT=0.0, endT=-1.0, playRate=1.0) |
|
| pause (self) |
|
| popupControls (self, tl=None) |
|
| privDoEvent (self, t, event) |
|
| privFinalize (self) |
|
| privInitialize (self, t) |
|
| privInstant (self) |
|
| privInterrupt (self) |
|
| privPostEvent (self) |
|
| privReverseFinalize (self) |
|
| privReverseInitialize (self, t) |
|
| privReverseInstant (self) |
|
| resume (self, startT=None) |
|
| resumeUntil (self, endT) |
|
| setDoneEvent (self, event) |
|
| setLoop (self, loop=1) |
|
| setPlayRate (self, playRate) |
|
| setT (self, t) |
|
| setupPlay (self, startT, endT, playRate, doLoop) |
|
| setupResume (self) |
|
| start (self, startT=0.0, endT=-1.0, playRate=1.0) |
|
| stepPlay (self) |
|
| accept (self, event, method, extraArgs=[]) |
|
| acceptOnce (self, event, method, extraArgs=[]) |
|
| addTask (self, *args, **kwargs) |
|
| detectLeaks (self) |
|
| doMethodLater (self, *args, **kwargs) |
|
| getAllAccepting (self) |
|
| ignore (self, event) |
|
| ignoreAll (self) |
|
| isAccepting (self, event) |
|
| isIgnoring (self, event) |
|
| removeAllTasks (self) |
|
| removeTask (self, taskOrName) |
|
Class used to execute a function over time. Function can access fromData
and toData to perform blend. If fromData and toData not specified, will
execute the given function passing in values ranging from 0 to 1
This is different from a standard LerpFunction, in that it assumes
the function is not modifying any state that needs to be kept; so
that it will only call the function while the lerp is actually
running, and will not be guaranteed to call the function with its
final value of the lerp. In particular, if the lerp interval
happens to get skipped over completely, it will not bother to call
the function at all.