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.
public sealed class VisibilityBoxSetInheritance
object ← VisibilityBoxSet
Properties
Count
Gets how many boxes the scene has, enabled or not.
public int Count { get; }Property Value
int
View
Gets the boxes the scene's own view culls with this frame, from VisibilityBoxSet.PrepareView(Vector3?).
public VisibilityBoxCuller View { get; }Property Value
Methods
Add(VisibilityBox)
Adds a box to the scene.
public void Add(VisibilityBox box)Parameters
box VisibilityBox
BuildView(VisibilityBoxCuller, Vector3?)
Splits the boxes into a culler for one view of the scene, which may see it from elsewhere than VisibilityBoxSet.View.
public void BuildView(VisibilityBoxCuller culler, Vector3? eye)Parameters
culler VisibilityBoxCuller
The culler to fill.
eye Vector3?
Where the view is, or null when nothing may be culled this frame.
PrepareView(Vector3?)
Splits the boxes for the scene's view this frame.
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.
public void Remove(VisibilityBox box)Parameters
box VisibilityBox

