s&box docs

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.

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.

Properties

Showing 6 properties

public BBox Sandbox.SceneMap.Bounds { get; set; }

Bounds of the map.

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.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.SceneMap

On this page