# Sandbox.SceneCullingBox

A box which can be used to explicitly control scene visibility. 
There are two modes:
1. Cull inside, hide any objects fully inside the box (excluder)
2. Cull outside, hide any objects not intersecting any cull boxes marked cull outside (includer)

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Constructors

- [`SceneCullingBox`](/api/Sandbox.SceneCullingBox/.ctor): Create a scene culling box. Each scene world can have a list of boxes which can be used to explicitly cull objects inside or outside the boxes.

## Properties

- [`IsValid`](/api/Sandbox.SceneCullingBox/IsValid): Is this culling box valid, exists inside a scene world.
- [`Mode`](/api/Sandbox.SceneCullingBox/Mode): Cull mode, either inside or outside
- [`Size`](/api/Sandbox.SceneCullingBox/Size): Size of this box, transform scale will scale this size
- [`Transform`](/api/Sandbox.SceneCullingBox/Transform): Position and rotation of this box, scale will scale the box size
- [`World`](/api/Sandbox.SceneCullingBox/World): The scene world this culling box belongs to.

## Methods

- [`Delete`](/api/Sandbox.SceneCullingBox/Delete): Delete this culling box. You shouldn't access it anymore.
