|
fennec
|
Main Scene Hierarchy. More...
#include <scene.h>
This structure only contains the names of nodes and defers storage for components to their respective systems. Simple components may be isolated,
Public Member Functions | |
| scene_node * | operator[] (const cstring &name) const |
| Find a node by name. | |
| scene_node * | operator[] (const string &name) const |
| Find a node by name. | |
| scene_node * fennec::scene::operator[] | ( | const cstring & | name | ) | const |
If multiple nodes have the same name, finds the first one in pre-order traversal.
| name | The name of the node to search for |
npos if not found. | scene_node * fennec::scene::operator[] | ( | const string & | name | ) | const |
If multiple nodes have the same name, finds the first one in pre-order traversal.
| name | The name of the node to search for |
npos if not found.