Class CSPSceneData
Defined in File CSPSceneData.h
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::List<csp::common::String> &SceneDescriptionJson)
Constructor for CSPSceneData by deserializing a SceneDescription json file.
Warning
The expression of this interface as a list is a wrapper generator workaround, so whilst you may split your string into many elements, it is not advisable. You should prefer inserting your entire string as the first, single, and only element of the list.
- Parameters
SceneDescriptionJson – csp::common::String : The SceneDescription to parse.
Public Members
-
csp::common::Array<csp::systems::AssetCollection> AssetCollections
The asset collections for this scene.
-
CSPSceneData(const csp::common::List<csp::common::String> &SceneDescriptionJson)