Recast Navigation
Navigation-mesh Toolset for Games
|
Represents a span of unobstructed space within a compact heightfield. More...
#include <Recast.h>
Public Attributes | |
unsigned short | y |
The lower extent of the span. (Measured from the heightfield's base.) More... | |
unsigned short | reg |
The id of the region the span belongs to. (Or zero if not in a region.) More... | |
unsigned int | con: 24 |
Packed neighbor connection data. More... | |
unsigned int | h: 8 |
The height of the span. (Measured from y.) More... | |
Represents a span of unobstructed space within a compact heightfield.
The span represents open, unobstructed space within a compact heightfield column. See the rcCompactHeightfield documentation for an example of iterating spans and searching span connections.
Useful instances of this type can only by obtained from a rcCompactHeightfield object.
unsigned int rcCompactSpan::con |
Packed neighbor connection data.
unsigned int rcCompactSpan::h |
The height of the span. (Measured from y.)
unsigned short rcCompactSpan::reg |
The id of the region the span belongs to. (Or zero if not in a region.)
unsigned short rcCompactSpan::y |
The lower extent of the span. (Measured from the heightfield's base.)