Dungeon Architect
17.0.0
|
The LocalBoundary class stores segments and polygon indices for temporary use. More...
Classes | |
struct | Segment |
A line segment contains two points More... | |
Public Member Functions | |
LocalBoundary () | |
Initializes a new instance of the LocalBoundary class. More... | |
void | Reset () |
Reset all the internal data More... | |
void | AddSegment (float dist, Segment s) |
Add a line segment More... | |
void | Update (int reference, Vector3 pos, float collisionQueryRange, NavMeshQuery navquery) |
Examine polygons in the NavMeshQuery and add polygon edges More... | |
bool | IsValid (NavMeshQuery navquery) |
Determines whether the polygon reference is a part of the NavMeshQuery. More... | |
Properties | |
Vector3 | Center [get] |
Gets the center More... | |
Segment[] | Segs [get] |
Gets the segments More... | |
int | SegCount [get] |
Gets the number of segments More... | |
The LocalBoundary class stores segments and polygon indices for temporary use.
Definition at line 21 of file LocalBoundary.cs.
SharpNav.Crowds.LocalBoundary.LocalBoundary | ( | ) |
Initializes a new instance of the LocalBoundary class.
Definition at line 42 of file LocalBoundary.cs.
void SharpNav.Crowds.LocalBoundary.AddSegment | ( | float | dist, |
Segment | s | ||
) |
Add a line segment
dist | The distance |
s | The line segment |
Definition at line 105 of file LocalBoundary.cs.
bool SharpNav.Crowds.LocalBoundary.IsValid | ( | NavMeshQuery | navquery | ) |
Determines whether the polygon reference is a part of the NavMeshQuery.
navquery | The NavMeshQuery |
Definition at line 198 of file LocalBoundary.cs.
void SharpNav.Crowds.LocalBoundary.Reset | ( | ) |
Reset all the internal data
Definition at line 93 of file LocalBoundary.cs.
void SharpNav.Crowds.LocalBoundary.Update | ( | int | reference, |
Vector3 | pos, | ||
float | collisionQueryRange, | ||
NavMeshQuery | navquery | ||
) |
Examine polygons in the NavMeshQuery and add polygon edges
reference | The starting polygon reference |
pos | Current position |
collisionQueryRange | Range to query |
navquery | The NavMeshQuery |
Definition at line 155 of file LocalBoundary.cs.
|
get |
Gets the center
Definition at line 56 of file LocalBoundary.cs.
|
get |
Gets the number of segments
Definition at line 78 of file LocalBoundary.cs.
|
get |
Gets the segments
Definition at line 67 of file LocalBoundary.cs.