Home | Trees | Index | Help |
|
---|
Package pygext :: Package gl :: Package director :: Module node :: Class Node |
|
object
--+
|
Node
EntityNode
A single scene-graph node
Each node has the basic properties to control its position and orientation. All these properties are relative to the node's parent.
node.x - horizontal position node.y - vertical position node.angle - rotation in degrees node.scale - size scales
In addition, each node has the attributes realx and realy which contain the node's absolute position on the screen.Method Summary | |
---|---|
__init__(self)
| |
__iter__(self)
| |
__len__(self)
| |
__nonzero__(self)
| |
abort_actions([typefilter]) -> None | |
add_collnode(self,
group,
*arg,
**kw)
| |
attach_to(node) -> None | |
clear() -> None | |
clear_collnodes(self)
| |
delete() -> None | |
detach() -> None | |
do(*actions) -> this | |
end_actions([typefilter]) -> None | |
enter() -> None | |
exit() -> None | |
Get a list of currently active actions from this Node | |
transform_polygon(self,
poly)
| |
transform_rect(self,
rect)
| |
traverse() -> None |
Class Variable Summary | |
---|---|
bool |
fast_draw = False
|
Method Details |
---|
abort_actions(self, typefilter=None)abort_actions([typefilter]) -> None End all current actions (if any) and do NOT proceed to any new actions. If typefilter is given, only actions of that type (and its subclasses) are aborted. |
attach_to(self, node, back=False)attach_to(node) -> None Attach this node as a child of target node. |
clear(self)clear() -> None Remove all children from this node |
delete(self)delete() -> None Delete this node from the graph |
detach(self)detach() -> None Detach this node from its parent |
do(self, *actions, **kw)do(*actions) -> this Begin performing a new action(s) on this entity. |
end_actions(self, typefilter=None)end_actions([typefilter]) -> None End all current actions and proceed to the next actions in the action chains. If typefilter is given, only action of that type (and its subclasses) are ended. |
enter(self)enter() -> None Called when entering this node in graph traversal |
exit(self)exit() -> None Called when exiting this node in graph traversal |
get_actions(self, typefilter=None)Get a list of currently active actions from this Node |
traverse(self)traverse() -> None Traverse down this node in the scene-graph. |
Class Variable Details |
---|
fast_draw
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Jun 12 18:21:21 2006 | http://epydoc.sf.net |