Rebel Fork Framework
Scene.h File Reference
#include "../Core/Mutex.h"
#include "../Resource/JSONFile.h"
#include "../Resource/XMLElement.h"
#include "../Scene/Node.h"
#include "../Scene/SceneResolver.h"
#include <EASTL/span.h>
#include <EASTL/unique_ptr.h>
#include <EASTL/unordered_set.h>

Classes

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

Typedefs

using Urho3D::SceneComponentIndex = ea::hash_set< Component * >
 Index of components in the Scene.
 

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)
 

Variables

static const unsigned Urho3D::FIRST_REPLICATED_ID = 0x1
 TODO: Get rid of "replicated" word in the code. It is not used in the networking code anymore.
 
static const unsigned Urho3D::LAST_REPLICATED_ID = 0xffffff
 

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 Urho3D::RegisterSceneLibrary ( Context context)

Register Scene library objects.