SceneMap SceneMap { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The SceneMap property provides access to the world geometry within a Map instance. This property is essential for interacting with the spatial layout and structure of the map, allowing for operations that involve the physical representation of the environment.

Usage

To access the SceneMap property, you need to have an instance of the Map class. This property is read-only and provides a SceneMap object that represents the world geometry.

Example

// Example of accessing the SceneMap property

// Assume 'map' is an instance of Sandbox.Map
Sandbox.Map map = new Sandbox.Map();

// Access the SceneMap property
Sandbox.SceneMap sceneGeometry = map.SceneMap;

// Use the sceneGeometry object to interact with the world geometry
// For example, you might want to query or modify the geometry
// sceneGeometry.SomeMethod();