Interface ISpatialSet ​
Namespace: ValveResourceFormat.Renderer
Assembly: Renderer.dll
Spatial set of scene nodes, queryable by frustum or box. Implemented hierarchically by
and flat by .csharp
public interface ISpatialSetProperties ​
Dirty ​
Gets or sets whether the set needs rebuilding from the scene's node list.
csharp
bool Dirty { get; set; }Property Value ​
Methods ​
Clear() ​
Removes every node from the set.
csharp
void Clear()GetBounds() ​
Returns the bounds covering every node in the set.
csharp
AABB GetBounds()Returns ​
Insert(SceneNode) ​
Adds a node to the set.
csharp
void Insert(SceneNode node)Parameters ​
node SceneNode
Query(Frustum, List<SceneNode>) ​
Appends every node whose bounds intersect the frustum.
csharp
void Query(Frustum frustum, List<SceneNode> results)Parameters ​
frustum Frustum
Query(in AABB, List<SceneNode>) ​
Appends every node whose bounds intersect the box.
csharp
void Query(in AABB bounds, List<SceneNode> results)Parameters ​
bounds AABB
Update(SceneNode) ​
Refreshes a node's stored bounds.
csharp
void Update(SceneNode node)Parameters ​
node SceneNode

