SceneWorld World { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The World property of the SceneMap class provides access to the SceneWorld instance that the map is associated with. This property is essential for understanding the context in which the map is rendered, as it links the map to its corresponding scene world.

Usage

To access the World property, you need an instance of the SceneMap class. Once you have the instance, you can retrieve the SceneWorld it belongs to by simply accessing the World property.

Example

// Assuming you have a SceneMap instance named 'sceneMap'
SceneWorld sceneWorld = sceneMap.World;

// You can now use 'sceneWorld' to interact with the scene world associated with the map.