Class CSPSceneData

Class Documentation

class CSPSceneData

CSPSceneData which represents all data that exists for a space.

This data structure is created through the deserialization of a CSPSceneDescription Json which is retrieved externally. The json file used to create this structure is also used to create a systems::CSPSceneData object. The reason these are seperated is to break dependencies between our multiplayer and corer modules.

Public Functions

CSPSceneData(const csp::common::String &SceneDescriptionJson)

Constructor for CSPSceneData by deserializing a SceneDescription json file.

Parameters

SceneDescriptionJsoncsp::common::String : The SceneDescription to deserialize.

Public Members

csp::systems::Space Space

The space the scene data represents.

csp::common::Array<csp::systems::AssetCollection> AssetCollections

The asset collections for this scene.

csp::common::Array<csp::systems::Asset> Assets

The assets for this scene.

csp::common::Array<csp::systems::Sequence> Sequences

The sequences for this scene.