Parent: ygSelector | Example | Source code | Header file |
A pySelector is an ygSelector that runs a Python script, similar to pyNode. In addition to the basic pyNode features, a pySelector's script can also call methods that correspond to the C++ ygSelector methods.
script | string [, string] | load a Python script and create an object |
reload | reload the script previously loaded by script | |
autoReset | bool | tell the node to automatically reset any time the script file is modified |
call | string | call a function on the Python object |
See pyInterface for details on what these messages do.
pySelector itself does not generate any events. The Python scripts can generate their own events, however.
None.
pySelector uses the class pyInterface to define the basic Python ygNode functions. In addition, it defines a Python class ygSelector (derived from ygNode), which includes methods to interface with the C++ ygSelector methods.
The added functions in ygSelector are:
Last updated 13 September 2002.
home page