Dungeon Architect  17.0.0
SharpNav.Span Struct Reference

A span is a range of integers which represents a range of voxels in a Cell. More...

Public Member Functions

 Span (int min, int max)
 Initializes a new instance of the Span struct. More...
 
 Span (int min, int max, Area area)
 Initializes a new instance of the Span struct. More...
 

Public Attributes

int Minimum
 The lowest value in the span. More...
 
int Maximum
 The highest value in the span. More...
 
Area Area
 The span area id More...
 

Properties

int Height [get]
 Gets the height of the span. More...
 

Detailed Description

A span is a range of integers which represents a range of voxels in a Cell.

Definition at line 12 of file Span.cs.

Constructor & Destructor Documentation

◆ Span() [1/2]

SharpNav.Span.Span ( int  min,
int  max 
)

Initializes a new instance of the Span struct.

Parameters
minThe lowest value in the span.
maxThe highest value in the span.

Definition at line 34 of file Span.cs.

◆ Span() [2/2]

SharpNav.Span.Span ( int  min,
int  max,
Area  area 
)

Initializes a new instance of the Span struct.

Parameters
minThe lowest value in the span.
maxThe highest value in the span.
areaThe area flags for the span.

Definition at line 47 of file Span.cs.

Member Data Documentation

◆ Area

Area SharpNav.Span.Area

The span area id

Definition at line 27 of file Span.cs.

◆ Maximum

int SharpNav.Span.Maximum

The highest value in the span.

Definition at line 22 of file Span.cs.

◆ Minimum

int SharpNav.Span.Minimum

The lowest value in the span.

Definition at line 17 of file Span.cs.

Property Documentation

◆ Height

int SharpNav.Span.Height
get

Gets the height of the span.

Definition at line 57 of file Span.cs.


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