Table of Contents

Struct NavigationBaselineVoxelState

Namespace
GridForge.Grids
Assembly
GridForge.dll

Immutable post-mutation state for one requested topology-local address.

public readonly struct NavigationBaselineVoxelState
Inherited Members

Constructors

NavigationBaselineVoxelState(VoxelIndex, bool, byte)

Initializes a navigation baseline address state.

public NavigationBaselineVoxelState(VoxelIndex voxelIndex, bool isPresent, byte obstacleCount)

Parameters

voxelIndex VoxelIndex
isPresent bool
obstacleCount byte

Fields

IsPresent

Whether a physical voxel is present at the requested address.

public readonly bool IsPresent

Field Value

bool

ObstacleCount

The physical voxel obstacle count, or zero when no voxel is present.

public readonly byte ObstacleCount

Field Value

byte

VoxelIndex

The requested topology-local address.

public readonly VoxelIndex VoxelIndex

Field Value

VoxelIndex