Struct VoxelVisibility.Node ​
Namespace: ValveResourceFormat.Blocks
Assembly: ValveResourceFormat.dll
Represents an octree node.
csharp
public readonly struct VoxelVisibility.NodeConstructors ​
Node(uint, uint) ​
Initializes a node from its two packed words.
csharp
public Node(uint first, uint second)Parameters ​
first uint
second uint
Properties ​
EnclosedListIndex ​
Gets the enclosed cluster list index.
csharp
public uint EnclosedListIndex { get; }Property Value ​
uint
IsEnclosedCluster ​
Gets whether this node has an enclosed cluster list.
csharp
public bool IsEnclosedCluster { get; }Property Value ​
bool
IsLeaf ​
Gets whether this node is a leaf.
csharp
public bool IsLeaf { get; }Property Value ​
bool
Offset ​
Gets the child offset for internal nodes, or the region offset for leaf nodes.
csharp
public uint Offset { get; }Property Value ​
uint
RegionCount ​
Gets the number of regions in this leaf.
csharp
public byte RegionCount { get; }Property Value ​
byte

