Summary
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)
Constructors
| SceneCullingBox |
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 |
Is this culling box valid, exists inside a scene world. |
| Mode |
Cull mode, either inside or outside |
| Size |
Size of this box, transform scale will scale this size |
| Transform |
Position and rotation of this box, scale will scale the box size |
| World |
The scene world this culling box belongs to. |
Methods
| Delete |
Delete this culling box. You shouldn't access it anymore. |