API ReferenceSandbox
public sealed class Sandbox.SceneMap
Map geometry that can be rendered within a `Sandbox.SceneWorld`.
Constructors
Showing 1 constructors
public SceneMap(Sandbox.SceneWorld sceneWorld, string map)
Create a scene map within a scene world.
No results match this filter.
Methods
Showing 2 methods
public static System.Threading.Tasks.Task`1<Sandbox.SceneMap> CreateAsync(Sandbox.SceneWorld sceneWorld, string map, System.Threading.CancellationToken cancelToken = null)
Create scene map asynchronously for when large maps take time to load.
Parameters
cancelToken: Default: null
public void Delete()
Delete this scene map. You shouldn't access it anymore.
No results match this filter.
Properties
Showing 6 properties
public virtual sealed bool Sandbox.SceneMap.IsValid { get; set; }
Is the map valid.
public string Sandbox.SceneMap.MapFolder { get; set; }
maps/davej/cs_assault
public string Sandbox.SceneMap.MapName { get; set; }
cs_assault
public Sandbox.SceneWorld Sandbox.SceneMap.World { get; set; }
The scene world this map belongs to.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.SceneMap |