Dungeon Architect  17.0.0
SharpNav.CompactCell Struct Reference

Represents a cell in a CompactHeightfield. More...

Public Member Functions

 CompactCell (int start, int count)
 Initializes a new instance of the CompactCell struct. More...
 

Public Attributes

int StartIndex
 The starting index of spans in a CompactHeightfield for this cell. More...
 
int Count
 The number of spans in a CompactHeightfield for this cell. More...
 

Detailed Description

Represents a cell in a CompactHeightfield.

Definition at line 12 of file CompactCell.cs.

Constructor & Destructor Documentation

◆ CompactCell()

SharpNav.CompactCell.CompactCell ( int  start,
int  count 
)

Initializes a new instance of the CompactCell struct.

Parameters
startThe start index.
countThe count.

Definition at line 29 of file CompactCell.cs.

Member Data Documentation

◆ Count

int SharpNav.CompactCell.Count

The number of spans in a CompactHeightfield for this cell.

Definition at line 22 of file CompactCell.cs.

◆ StartIndex

int SharpNav.CompactCell.StartIndex

The starting index of spans in a CompactHeightfield for this cell.

Definition at line 17 of file CompactCell.cs.


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