Stores a voxel field.
More...
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
◆ VoxelArea()
◆ AddLinkedSpan()
void AddLinkedSpan |
( |
int |
index, |
|
|
uint |
bottom, |
|
|
uint |
top, |
|
|
int |
area, |
|
|
int |
voxelWalkableClimb |
|
) |
| |
◆ GetSpanCount()
◆ GetSpanCountAll()
◆ PushToSpanRemovedStack()
void PushToSpanRemovedStack |
( |
int |
index | ) |
|
|
private |
◆ Reset()
◆ ResetLinkedVoxelSpans()
void ResetLinkedVoxelSpans |
( |
| ) |
|
|
private |
◆ areaTypes
◆ AvgSpanLayerCountEstimate
const float AvgSpanLayerCountEstimate = 8 |
Initial estimate on the average number of spans (layers) in the voxel representation.
Should be greater or equal to 1
◆ compactCells
◆ compactSpanCount
◆ compactSpans
◆ depth
The depth of the field along the z-axis.
[Limit: >= 0] [Units: vx]
◆ DirectionX
◆ DirectionZ
◆ dist
◆ InvalidSpanValue
const uint InvalidSpanValue = ~0U |
Constant for default LinkedVoxelSpan top and bottom values.
It is important with the U since ~0 != ~0U This can be used to check if a LinkedVoxelSpan is valid and not just the default span
◆ linkedSpanCount
◆ linkedSpans
◆ maxDistance
◆ MaxHeight
const uint MaxHeight = 65536 |
◆ MaxHeightInt
const int MaxHeightInt = 65536 |
◆ maxRegions
◆ removedStack
int [] removedStack = new int[128] |
|
private |
◆ removedStackCount
int removedStackCount = 0 |
|
private |
◆ tmpUShortArr
◆ VectorDirection
Vector3 [] VectorDirection |
◆ width
The width of the field along the x-axis.
[Limit: >= 0] [Units: vx]
The documentation for this class was generated from the following file:
- /Users/arong/Unity/a-pathfinding-project/Assets/AstarPathfindingProject/Generators/Utilities/Voxels/VoxelClasses.cs