# Sandbox.SceneWorld

A scene world that contains [Sandbox.SceneObject](/api/Sandbox.SceneObject)s. See Utility.CreateSceneWorld.
            
You may also want a [Sandbox.SceneCamera](/api/Sandbox.SceneCamera) to manually render the scene world.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Constructors

- [`SceneWorld`](/api/Sandbox.SceneWorld/.ctor)

## Fields

- [`AmbientLightColor`](/api/Sandbox.SceneWorld/AmbientLightColor): Sets the ambient lighting color
- [`ClearColor`](/api/Sandbox.SceneWorld/ClearColor): Sets the clear color, if nothing else is drawn, this is the color you will see
- [`GradientFog`](/api/Sandbox.SceneWorld/GradientFog): Controls gradient fog settings.

## Properties

- [`SceneObjects`](/api/Sandbox.SceneWorld/SceneObjects): List of scene objects belonging to this scene world.
- [`Trace`](/api/Sandbox.SceneWorld/Trace): Trace against all scene objects in this scene world

## Methods

- [`Delete`](/api/Sandbox.SceneWorld/Delete): Delete this scene world. You shouldn't access it anymore.
- [`DeletePendingObjects`](/api/Sandbox.SceneWorld/DeletePendingObjects): Deleted objects are actually deleted at the end of each frame. Call this to actually delete pending deletes right now instead of waiting.
