Urho3D
Public Member Functions | Private Attributes | List of all members
Urho3D::SceneResolver Class Reference

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

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Scene/SceneResolver.h>

Public Member Functions

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

Private Attributes

HashMap< NodeId, WeakPtr< Node > > nodes_
 Nodes.
 
HashMap< ComponentId, 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: