| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
Class representing a group node in the scene graph. More...
#include <Node.h>
Public Member Functions | |
| void | addNode (Node *node) |
| Adds a node to this group. | |
| Node * | getNode (const u32 &id) const |
| Gets a pointer to a node in this group. | |
| u16 | getNumberOfNodes () |
| Gets the number of nodes in this group. | |
| GroupNode (const std::string &name) | |
| GroupNode () | |
| void | removeAllNodes () |
| Removes all nodes in this group. Does delete the nodes. | |
| void | removeNode (Node *node) |
| Node * | removeNode (const u32 &id) |
| ~GroupNode () | |
Static Protected Attributes | |
| static u32 | msNextGeneratedGroupNodeIndex = 0 |
| Incremented count for next index. | |
Class representing a group node in the scene graph.
| scene::GroupNode::GroupNode | ( | ) |
References scene::Node::mNodeType, and scene::NT_GROUP.
| scene::GroupNode::GroupNode | ( | const std::string & | name | ) |
References scene::Node::mNodeType, and scene::NT_GROUP.
| scene::GroupNode::~GroupNode | ( | ) |
| void scene::GroupNode::addNode | ( | Node * | node | ) |
Adds a node to this group.
References scene::Node::addChild().
Gets a pointer to a node in this group.
References scene::Node::getChild().
| u16 scene::GroupNode::getNumberOfNodes | ( | ) |
Gets the number of nodes in this group.
References scene::Node::getNumberOfChildren().
| void scene::GroupNode::removeAllNodes | ( | ) |
Removes all nodes in this group. Does delete the nodes.
References scene::Node::removeAllChildren().
References scene::Node::removeChild().
| void scene::GroupNode::removeNode | ( | Node * | node | ) |
References scene::Node::removeChild().
u32 scene::GroupNode::msNextGeneratedGroupNodeIndex = 0 [static, protected] |
Incremented count for next index.
|
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:10 by
Doxygen
(1.7.4)
|