![]() |
Dungeon Architect
17.0.0
|
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... | |
References a Span within a Heightfield.
Definition at line 12 of file SpanReference.cs.
| SharpNav.SpanReference.SpanReference | ( | int | x, |
| int | y, | ||
| int | i | ||
| ) |
Initializes a new instance of the SpanReference struct.
| x | The X coordinate of the Cell the Span is contained in. |
| y | The Y coordinate of the Cell the Span is contained in. |
| i | The index of the Span within the specified Cell. |
Definition at line 24 of file SpanReference.cs.
|
get |
Gets the index of the Span within the Cell it is contained in.
Definition at line 56 of file SpanReference.cs.
|
get |
Gets the X coordinate of the Cell that contains the referenced Span.
Definition at line 34 of file SpanReference.cs.
|
get |
Gets the Y coordinate of the Cell that contains the referenced Span.
Definition at line 45 of file SpanReference.cs.