Urho3D::SceneResolver Class Reference

Utility class that resolves node & component IDs after a scene or partial scene load. More...

#include <SceneResolver.h>

Collaboration diagram for Urho3D::SceneResolver:
[legend]

Public Member Functions

 SceneResolver ()
 Construct.
 
 ~SceneResolver ()
 Destruct.
 
void Reset ()
 Reset. Clear all remembered nodes and components.
 
void AddNode (unsigned oldID, Node *node)
 Remember a created node.
 
void AddComponent (unsigned oldID, Component *component)
 Remember a created component.
 
void Resolve ()
 Resolve component and node ID attributes and reset.
 

Private Attributes

HashMap< unsigned, WeakPtr
< Node > > 
nodes_
 Nodes.
 
HashMap< unsigned, WeakPtr
< Component > > 
components_
 Components.
 

Detailed Description

Utility class that resolves node & component IDs after a scene or partial scene load.


The documentation for this class was generated from the following files:
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Scene/SceneResolver.h
  • /home/travis/build/urho3d/Urho3D/Source/Urho3D/Scene/SceneResolver.cpp