Description
The SceneProperties
property of the SceneFile
class provides access to a JsonObject
that contains various properties and settings related to the scene. This property is useful for retrieving and manipulating scene-specific data in a structured JSON format.
Usage
To access the SceneProperties
property, you need to have an instance of the SceneFile
class. Once you have the instance, you can directly access the property to read or modify the scene's properties.
Example usage:
SceneFile sceneFile = new SceneFile();
JsonObject sceneProperties = sceneFile.SceneProperties;
// Access a specific property
string lightingSetting = sceneProperties["Lighting"].ToString();
// Modify a property
sceneProperties["Lighting"] = "Daylight";
Example
SceneFile sceneFile = new SceneFile();
JsonObject sceneProperties = sceneFile.SceneProperties;
// Access a specific property
string lightingSetting = sceneProperties["Lighting"].ToString();
// Modify a property
sceneProperties["Lighting"] = "Daylight";