| Home | Trees | Index | Help |
|
|---|
| Package VisionEgg :: Module FlowControl :: Class EvalStringController |
|
object--+ |Controller--+ | EvalStringController
PyroEvalStringControllerSet parameters using dynamically interpreted Python string. The string, when evaluated as Python code, becomes the value used. For example, the string "1.0" would set parameter values to 1.0. To increase speed, the string is compiled to Python's bytecode format. The string can make use of temporal variables, which are made available depending on the controller's temporal_variables attribute. Note that only the absolute temporal variables are available when the go loop is not running. flag(s) present variable description TIME_SEC_ABSOLUTE t_abs seconds, continuously increasing TIME_SEC_SINCE_GO t seconds, reset to 0.0 each go loop FRAMES_ABSOLUTE f_abs frames, continuously increasing FRAMES_SINCE_GO f frames, reset to 0 each go loop
| Method Summary | |
|---|---|
__init__(self,
during_go_eval_string,
between_go_eval_string,
**kw)
| |
Called by Presentation. | |
Called by Presentation. | |
get_between_go_eval_string(self)
| |
get_during_go_eval_string(self)
| |
set_between_go_eval_string(self,
between_go_eval_string)
| |
set_during_go_eval_string(self,
during_go_eval_string)
| |
| Inherited from Controller | |
Call this after updating the values of a controller if it's not evaluated EVERY_FRAME. | |
Called by Presentation. | |
| |
| Inherited from object | |
x.__delattr__('name') <==> del x.name... | |
x.__getattribute__('name') <==> x.name... | |
x.__hash__() <==> hash(x)... | |
helper for pickle... | |
helper for pickle... | |
x.__repr__() <==> repr(x)... | |
x.__setattr__('name', value) <==> x.name = value... | |
x.__str__() <==> str(x)... | |
| Inherited from type | |
T.__new__(S, ...) -> a new object with type S, a subtype of T... | |
| Class Variable Summary | |
|---|---|
| Inherited from Controller | |
int |
EVERY_FRAME = 1 |
dict |
flag_dictionary = {'EVERY_FRAME': 1, 'NOT_BETWEEN_GO': 1...
|
int |
FRAMES_ABSOLUTE = 4 |
int |
FRAMES_SINCE_GO = 8 |
int |
NEVER = 0 |
int |
NOT_BETWEEN_GO = 16 |
int |
NOT_DURING_GO = 8 |
int |
ONCE = 4 |
int |
TIME_INDEPENDENT = 0 |
int |
TIME_SEC_ABSOLUTE = 1 |
int |
TIME_SEC_SINCE_GO = 2 |
int |
TRANSITIONS = 2 |
| Method Details |
|---|
between_go_eval(self)Called by Presentation. Overrides method in Controller base class. |
during_go_eval(self)Called by Presentation. Overrides method in Controller base class. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Fri Sep 19 18:29:38 2003 | http://epydoc.sf.net |