| Trees | Indices | Toggle frames |
|---|
object --+
|
base_actions.Action --+
|
base_actions.IntervalAction --+
|
AccelDeccelAmplitude
Increases and Decreases the amplitude of Wave
Example:
# when t=0 and t=1 the amplitude will be 0 # when t=0.5 (half time), the amplitude will be 40 action = AccellDeccelAmplitude( Wave3D( waves=4, amplitude=40, duration=6) ) scene.do( action )
|
init(self,
other,
rate=1.0)
Init method.
|
|
|
start(self)
Before we start executing an action, self.target is assigned and this method is called.
|
|
|
update(self,
t)
Gets called on every frame.
|
|
| __reversed__(self) | |
Inherited from base_actions.IntervalAction:
done
Inherited from base_actions.Action:
__add__,
__init__,
__mul__,
__or__,
step,
stop
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__str__
|
|
Inherited from object:
__class__
|
Inherited from base_actions.Action:
target
|
t is in [0,1]
If this action takes 5 seconds to execute, t will be equal to 0
at 0 seconds. t will be 0.5 at 2.5 seconds and t will be 1 at 5sec.
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Sat Sep 6 13:21:10 2008 | http://epydoc.sourceforge.net |