Recast Navigation  1.0.35
rcCompactSpan Struct Reference

Represents a span of unobstructed space within a compact heightfield. More...

#include <Recast.h>

Public Attributes

unsigned short minY
 The lower extent of the span. (Measured from the heightfield's base.) More...
 
unsigned short regionID
 The id of the region the span belongs to. (Or zero if not in a region.) More...
 
unsigned int connectionData: 24
 Packed neighbor connection data. More...
 
unsigned int height: 8
 The height of the span. (Measured from minY.) More...
 

Description

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.

See also
rcCompactHeightfield

Member Data Documentation

unsigned int rcCompactSpan::connectionData

Packed neighbor connection data.

unsigned int rcCompactSpan::height

The height of the span. (Measured from minY.)

unsigned short rcCompactSpan::minY

The lower extent of the span. (Measured from the heightfield's base.)

unsigned short rcCompactSpan::regionID

The id of the region the span belongs to. (Or zero if not in a region.)


The documentation for this struct was generated from the following file: