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
void AddLinkedSpan |
( |
int |
index, |
|
|
uint |
bottom, |
|
|
uint |
top, |
|
|
int |
area, |
|
|
int |
voxelWalkableClimb |
|
) |
| |
void PushToSpanRemovedStack |
( |
int |
index | ) |
|
|
private |
void ResetLinkedVoxelSpans |
( |
| ) |
|
|
private |
const float AvgSpanLayerCountEstimate = 8 |
Initial estimate on the average number of spans (layers) in the voxel representation.
Should be greater or equal to 1
The depth of the field along the z-axis.
[Limit: >= 0] [Units: vx]
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
const uint MaxHeight = 65536 |
const int MaxHeightInt = 65536 |
int [] removedStack = new int[128] |
|
private |
int removedStackCount = 0 |
|
private |
Vector3 [] VectorDirection |
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