fennec
Loading...
Searching...
No Matches
fennec::scene

Main Scene Hierarchy. More...

#include <scene.h>

Inheritance diagram for fennec::scene:
[legend]
Collaboration diagram for fennec::scene:
[legend]

Detailed Description

This structure only contains the names of nodes and defers storage for components to their respective systems. Simple components may be isolated,

See also
components.h for more info. The hierarchy should be displayed using pre-order traversal.

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.
 

Member Function Documentation

◆ operator[]() [1/2]

scene_node * fennec::scene::operator[] ( const cstring name) const

If multiple nodes have the same name, finds the first one in pre-order traversal.

Parameters
nameThe name of the node to search for
Returns
The id of the node, npos if not found.

◆ operator[]() [2/2]

scene_node * fennec::scene::operator[] ( const string name) const

If multiple nodes have the same name, finds the first one in pre-order traversal.

Parameters
nameThe name of the node to search for
Returns
The id of the node, npos if not found.

The documentation for this class was generated from the following files: