#include <Node.h>
Public Types | |
enum | E_TYPE |
Public Member Functions | |
Node () | |
virtual | ~Node () |
int32 | getSize () const |
int32 | attachChild (Node *pChild) |
int32 | detachChild (Node *pChild) |
void | setParent (Node *pParent) |
Node * | getParent () |
const Node * | getNodeAt (uint32 value) |
const Node * | getNodeByName (const char *pName) |
virtual void | update () |
virtual void | updateSelected () |
virtual void | draw (render::Render *pRender) |
void | setName (const char *pName) |
const lang::String | getName () |
void | setType (E_TYPE eType) |
E_TYPE | getType () |
const char * | toString () |
enum scene::Node::E_TYPE |
The node type.
scene::Node::Node | ( | ) |
Constructor
virtual scene::Node::~Node | ( | ) | [virtual] |
Destructor
int32 scene::Node::getSize | ( | ) | const |
Get the size
int32 scene::Node::attachChild | ( | Node * | pChild | ) |
Attach the child to node
pChild | The child |
int32 scene::Node::detachChild | ( | Node * | pChild | ) |
Detach the child to node
pChild | The child |
void scene::Node::setParent | ( | Node * | pParent | ) |
Set the parent to the node
pParent | The parent |
Node* scene::Node::getParent | ( | ) |
Get the parent
const Node* scene::Node::getNodeAt | ( | uint32 | value | ) |
Get the specific node by value
value | The node position |
const Node* scene::Node::getNodeByName | ( | const char * | pName | ) |
Get the specific node by name
value | The node name |
virtual void scene::Node::update | ( | ) | [virtual] |
Update the node
virtual void scene::Node::updateSelected | ( | ) | [inline, virtual] |
Update selected the node
virtual void scene::Node::draw | ( | render::Render * | pRender | ) | [virtual] |
Draw
pRender | The render instance |
Reimplemented in scene::LightNode, and scene::MeshNode.
void scene::Node::setName | ( | const char * | pName | ) |
Set the node name
pName | The name of the node |
const lang::String scene::Node::getName | ( | ) |
Get the node name
void scene::Node::setType | ( | E_TYPE | eType | ) |
Set the node type
eType | The type of the node |
E_TYPE scene::Node::getType | ( | ) |
Get the node type
const char* scene::Node::toString | ( | ) | [inline, virtual] |