SceneWorldclass

A scene world that contains `Sandbox.SceneObject`s. See Utility.CreateSceneWorld. You may also want a `Sandbox.SceneCamera` to manually render the scene world.

objectSceneWorld
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.SceneWorld

Constructors1

Showing 1 constructors

Methods2

Showing 2 methods

public void Delete()PUBLIC

Delete this scene world. You shouldn't access it anymore.

Returns:void

public void DeletePendingObjects()PUBLIC

Deleted objects are actually deleted at the end of each frame. Call this to actually delete pending deletes right now instead of waiting.

Returns:void

Properties2

Showing 2 properties

public System.Collections.Generic.IReadOnlyCollection`1<Sandbox.SceneObject> Sandbox.SceneWorld.SceneObjects { get; set; }PUBLICGETSET

List of scene objects belonging to this scene world.

Returns:IReadOnlyCollection<SceneObject>

On this page