53     void deleteEntity(
SLint id);
 
   56     void deleteChildren(
SLint id);
 
   74     void dump(
SLbool doTreeDump);
 
   80     void clear() { _graph.clear(); }
 
vector< SLEntity > SLVEntity
Vector of SLEntity.
 
Scenegraph in Data Oriented Design with flat std::vector of SLEntity.
 
SLuint size()
Returns the size of the entity vector.
 
SLVEntity _graph
Vector of SLEntity of entire scenegraph.
 
void clear()
Clears the the entities vector.
 
SLNode represents a node in a hierarchical scene graph.
 
SLEntity is the Data Oriented Design version of a SLNode.
 
SLuint childCount
Number of children.
 
SLMat4f wm
World matrix for world transform.
 
SLint parentID
ID of the parent node (-1 of no parent)
 
SLMat4f wmI
Inverse world matrix.
 
SLNode * node
Pointer to the corresponding SLNode instance.
 
SLEntity(SLNode *myNode=nullptr)
 
SLMat4f om
Object matrix for local transforms.