class
SceneMap
public sealed class SceneMap Map geometry that can be rendered within a SceneWorld.
Constructors
SceneMap(SceneWorld sceneWorld, String map) Create a scene map within a scene world.
Properties
| Name | Type | Description |
|---|---|---|
World | SceneWorld | The scene world this map belongs to. |
IsValid virtual | Boolean | Is the map valid. |
Bounds | BBox | Bounds of the map. |
WorldOrigin | Vector3 | |
MapName | String | cs_assault |
MapFolder | String | maps/davej/cs_assault |
Methods
static Task<SceneMap> CreateAsync(SceneWorld sceneWorld, String map, CancellationToken cancelToken = null) Create scene map asynchronously for when large maps take time to load.
Void Delete() Delete this scene map. You shouldn't access it anymore.