Dungeon Architect  17.0.0
SharpNav.SpanReference Struct Reference

References a Span within a Heightfield. More...

Public Member Functions

 SpanReference (int x, int y, int i)
 Initializes a new instance of the SpanReference struct. More...
 

Properties

int X [get]
 Gets the X coordinate of the Cell that contains the referenced Span. More...
 
int Y [get]
 Gets the Y coordinate of the Cell that contains the referenced Span. More...
 
int Index [get]
 Gets the index of the Span within the Cell it is contained in. More...
 

Detailed Description

References a Span within a Heightfield.

Definition at line 12 of file SpanReference.cs.

Constructor & Destructor Documentation

◆ SpanReference()

SharpNav.SpanReference.SpanReference ( int  x,
int  y,
int  i 
)

Initializes a new instance of the SpanReference struct.

Parameters
xThe X coordinate of the Cell the Span is contained in.
yThe Y coordinate of the Cell the Span is contained in.
iThe index of the Span within the specified Cell.

Definition at line 24 of file SpanReference.cs.

Property Documentation

◆ Index

int SharpNav.SpanReference.Index
get

Gets the index of the Span within the Cell it is contained in.

Definition at line 56 of file SpanReference.cs.

◆ X

int SharpNav.SpanReference.X
get

Gets the X coordinate of the Cell that contains the referenced Span.

Definition at line 34 of file SpanReference.cs.

◆ Y

int SharpNav.SpanReference.Y
get

Gets the Y coordinate of the Cell that contains the referenced Span.

Definition at line 45 of file SpanReference.cs.


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