Urho3D
Classes | Enumerations | Functions | Variables
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"

Classes

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

Enumerations

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

Functions

void Dviglo::RegisterSceneLibrary (Context *context)
 

Variables

static const unsigned Dviglo::FIRST_REPLICATED_ID = 0x1
 
static const unsigned Dviglo::LAST_REPLICATED_ID = 0xffffff
 
static const unsigned Dviglo::FIRST_LOCAL_ID = 0x01000000
 
static const unsigned Dviglo::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.

Function Documentation

◆ RegisterSceneLibrary()

void URHO3D_API Dviglo::RegisterSceneLibrary ( Context context)

Register Scene library objects.