s&box docs

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.

Broader workflow and conceptual references connected to this API.

Constructors

Showing 1 constructors

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.

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.

Metadata

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

On this page