Trees | Indices | Help |
|
---|
|
object --+ | ??.instance --+ | vrAEBase
Base class for all actions and events.
The vrAEBase classes purpose is to add own behavior that needs to be updated every frame or receive events to VRED. For example, all the interpolation classes are derived from this class. Simply derive from this class and overload the loop-method like the following example does.
Example:
See also example key-action.py, render.py and frame.py
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
bool |
|
||
bool |
|
||
|
|||
|
|||
bool |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Variables | |
__instance_size__ = 136
|
Method Details |
The constructor of the vrAEBase class.
|
|
Adds this object to the global behavior loop. Now the loop-function will be called once every render frame (when the object is active). |
Connects various callback functions with this object. Actually, there are three methods to connect something to this object: connect(o) connects this object with a python function or a python command string. connect(o,arg1) connects this object to a python function with a single parameter or to a class with a recEvent method and a toggle state. connect(o,arg1,arg2) connects this object to a python function with two parameters. Returns true on success, false otherwise.
|
Connects a special signal method with various callback functions. Returns true on success, false otherwise.
|
Emits a signal, if you want to implement your own signal method.
|
Returns the activation state of this object.
|
This method is called every render frame when the object has been added to the global event loop with addLoop(). Add functionality that has to be updated every frame within this method. |
This method is called when an event occurs.
|
Sets the state of an action or event.
|
Enables GUI updates.
|
Subtracts this object from the global behavior loop. Its loop-function will no longer be called every render frame. |
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Nov 29 09:33:22 2024 | http://epydoc.sourceforge.net |