API ReferenceSandbox
public sealed class Sandbox.SceneWorld
A scene world that contains `Sandbox.SceneObject`s. See Utility.CreateSceneWorld. You may also want a `Sandbox.SceneCamera` to manually render the scene world.
Related Guides
Broader workflow and conceptual references connected to this API.
Constructors
Showing 1 constructors
public SceneWorld()
No results match this filter.
Methods
Showing 2 methods
public void Delete()
Delete this scene world. You shouldn't access it anymore.
public void DeletePendingObjects()
Deleted objects are actually deleted at the end of each frame. Call this to actually delete pending deletes right now instead of waiting.
No results match this filter.
Properties
Showing 2 properties
public System.Collections.Generic.IReadOnlyCollection`1<Sandbox.SceneObject> Sandbox.SceneWorld.SceneObjects { get; set; }
List of scene objects belonging to this scene world.
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest Sandbox.SceneWorld.Trace { get; set; }
Trace against all scene objects in this scene world
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.SceneWorld |