Class VisibilityBoxSet
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
The info_visibility_box volumes of one scene. A box only culls in the scene it was spawned in, so one in a 3D sky affects only the sky.
csharp
public sealed class VisibilityBoxSetInheritance
Properties
Count
Gets how many boxes the scene has, enabled or not.
csharp
public int Count { get; }Property Value
Enabled
Gets or sets whether the boxes cull at all.
csharp
public bool Enabled { get; set; }Property Value
View
Gets the boxes the scene's own view culls with this frame, from .
csharp
public VisibilityBoxCuller View { get; }Property Value
Methods
Add(VisibilityBox)
Adds a box to the scene.
csharp
public void Add(VisibilityBox box)Parameters
box VisibilityBox
PrepareView(Vector3?)
Splits the boxes for the scene's view this frame.
csharp
public void PrepareView(Vector3? eye)Parameters
eye Vector3?
Where the view is, or null when nothing may be culled this frame.
Remove(VisibilityBox)
Removes a box from the scene.
csharp
public void Remove(VisibilityBox box)Parameters
box VisibilityBox

