Struct LinkedVoxelField Extends IArenaDisposable

Public

Public Methods

AddFlattenedSpan (index, area)
Public
AddLinkedSpan (index, bottom, top, area, voxelWalkableClimb, objectID)
Public
DisposeWith (arena)
Public
GetSpanCount ()
Public
LinkedVoxelField (width, depth, height)
Public
PushToSpanRemovedStack (index)
Public
ResetLinkedVoxelSpans ()
Public
ResolveSolid (index, objectID, voxelWalkableClimb)
Public
SetWalkableBackground ()
Public

Public Variables

depth

The depth of the field along the z-axis.

Public
flatten
Public
height

The maximum height coordinate.

Public
linkedSpans
Public
width

The width of the field along the x-axis.

Public

Public Static Variables

AvgSpanLayerCountEstimate

Initial estimate on the average number of spans (layers) in the voxel representation.

Public Static
InvalidSpanValue

Constant for default LinkedVoxelSpan top and bottom values.

Public Static
MaxHeight
Public Static
MaxHeightInt
Public Static

Private/Protected Members

linkedCellMinMax
Private
removedStack
Private