Voxel Movement Rule
Movement rule for a VoxelGraph. Selects the allowed neighbors of each voxel:
MOORE_26 — the 26 surrounding voxels (6 face-adjacent + 12 edge-adjacent + 8 corner-adjacent). The standard for most 3D pathfinding where diagonal moves are physically allowed.
VON_NEUMANN_6 — the 6 face-adjacent voxels only (no diagonals). Used when diagonals are not allowed (axis-aligned storage, vertical-corridor routing).
The 3D analog of MovementRule.
Entries
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.