public sealed class 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)
Constructors
Showing 1 constructors
public SceneCullingBox(Sandbox.SceneWorld world, Transform transform, Vector3 size, Sandbox.SceneCullingBox.CullMode mode)
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.
No results match this filter.
Methods
Showing 1 methods
public void Delete()
Delete this culling box. You shouldn't access it anymore.
No results match this filter.
Properties
Showing 5 properties
public virtual sealed bool Sandbox.SceneCullingBox.IsValid { get; set; }
Is this culling box valid, exists inside a scene world.
public Sandbox.SceneCullingBox.CullMode Sandbox.SceneCullingBox.Mode { get; set; }
Cull mode, either inside or outside
public Vector3 Sandbox.SceneCullingBox.Size { get; set; }
Size of this box, transform scale will scale this size
public Transform Sandbox.SceneCullingBox.Transform { get; set; }
Position and rotation of this box, scale will scale the box size
public Sandbox.SceneWorld Sandbox.SceneCullingBox.World { get; set; }
The scene world this culling box belongs to.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.SceneCullingBox |