Scene.h File Reference
#include "../Container/HashSet.h"
#include "../Core/Mutex.h"
#include "../Resource/XMLElement.h"
#include "../Resource/JSONFile.h"
#include "../Scene/Node.h"
#include "../Scene/SceneResolver.h"
Include dependency graph for Scene.h:

Classes

struct  Urho3D::AsyncProgress
 Asynchronous loading progress of a scene. More...
 
class  Urho3D::Scene
 Root scene node, represents the whole scene. More...
 

Enumerations

enum  Urho3D::LoadMode { Urho3D::LOAD_RESOURCES_ONLY = 0, Urho3D::LOAD_SCENE, Urho3D::LOAD_SCENE_AND_RESOURCES }
 Asynchronous scene loading mode. More...
 

Functions

void Urho3D::RegisterSceneLibrary (Context *context)
 Register Scene library objects.
 

Variables

static const unsigned Urho3D::FIRST_REPLICATED_ID = 0x1
 
static const unsigned Urho3D::LAST_REPLICATED_ID = 0xffffff
 
static const unsigned Urho3D::FIRST_LOCAL_ID = 0x01000000
 
static const unsigned Urho3D::LAST_LOCAL_ID = 0xffffffff
 

Enumeration Type Documentation

◆ LoadMode

Asynchronous scene loading mode.

Enumerator
LOAD_RESOURCES_ONLY 

Preload resources used by a scene or object prefab file, but do not load any scene content.

LOAD_SCENE 

Load scene content without preloading. Resources will be requested synchronously when encountered.

LOAD_SCENE_AND_RESOURCES 

Default mode: preload resources used by the scene first, then load the scene content.