| Trees | Indices | Toggle frames |
|---|
object --+
|
base_actions.Action --+
|
base_actions.InstantAction --+
|
ReuseGrid
Will reuse the current grid for the next grid action. The next grid action must have these properties:
- Be of the same class as the current one ( Grid3D or TiledGrid3D )
- Have the same size
If these condition are met, then the next grid action will receive as the original vertex or original tiles the current ones.
Example:
scene.do( Waves3D( duration=2) + ReuseGrid() + Lens3D(duration=2) )
|
init(self,
reuse_times=1)
Gets called at initialization time, before a target is defined
|
|
|
start(self)
Here we must do out stuff
|
|
Inherited from base_actions.InstantAction:
done,
update
Inherited from base_actions.Action:
__add__,
__init__,
__mul__,
__or__,
__reversed__,
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
|
Inherited from base_actions.InstantAction:
duration
|
| Trees | Indices | Toggle frames |
|---|
| Generated by Epydoc 3.0beta1 on Sat Sep 6 13:21:10 2008 | http://epydoc.sourceforge.net |