Class VoxelArea

Public

Stores a voxel field.

A* Pro Feature:

This is an A* Pathfinding Project Pro feature only. This function/class/variable might not exist in the Free version of the A* Pathfinding Project or the functionality might be limited.
The Pro version can be bought here

Public Methods

AddLinkedSpan (index, bottom, top, area, voxelWalkableClimb)
Public
GetSpanCount ()
Public
GetSpanCountAll ()
Public
Reset ()
Public
VoxelArea (width, depth)
Public

Public Variables

DirectionX
Public
DirectionZ
Public
VectorDirection
Public
areaTypes
Public
compactCells
Public
compactSpanCount
Public
compactSpans
Public
depth

The depth of the field along the z-axis.

Public Readonly
dist
Public
linkedSpans
Public
maxDistance
Public
maxRegions
Public
tmpUShortArr
Public
width

The width of the field along the x-axis.

Public Readonly

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

PushToSpanRemovedStack (index)
Private
ResetLinkedVoxelSpans ()
Private
linkedSpanCount
Private
removedStack
Private
removedStackCount
Private