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