Struct RegionBoxVoxelVisibility.Region ​
Namespace: ValveResourceFormat.Blocks
Assembly: ValveResourceFormat.dll
Represents one box of space belonging to a cluster.
csharp
public readonly struct RegionBoxVoxelVisibility.RegionConstructors ​
Region(AABB, ushort) ​
Represents one box of space belonging to a cluster.
csharp
public Region(AABB bounds, ushort clusterId)Parameters ​
bounds AABB
The box this region covers.
clusterId ushort
The cluster this box belongs to.
Properties ​
Bounds ​
Gets the box this region covers.
csharp
public AABB Bounds { get; }Property Value ​
ClusterId ​
Gets the cluster this box belongs to, or when none does.
csharp
public ushort ClusterId { get; }Property Value ​
HasCluster ​
Gets whether a cluster claims this box at all.
csharp
public bool HasCluster { get; }
