![]() |
BotNavSim
v0.4.3
Mobile Robot Simulation
|
BotPath displays information about a recorded path taken or calculated. More...
Public Member Functions | |
BotPath () | |
void | AddNode (Vector3 node, float time) |
Adds a node to the path. More... | |
void | DrawPath () |
Draws the path on screen using Draw class More... | |
Properties | |
bool | visible [get, set] |
Gets or sets a value indicating whether this BotPath is visible. More... | |
bool | highlight [get, set] |
Gets or sets a value indicating whether this BotPath is highlighted. When highlighted, the path is drawn in white. More... | |
string | csvName [get, set] |
Gets or sets the name of the csv. More... | |
float | distance [get, private set] |
Gets the total distance this BotPath covers. More... | |
Vector3 | start [get] |
Gets the start of the path. More... | |
Vector3 | end [get] |
Gets the end of the path. More... | |
Bounds | bounds [get, private set] |
string | name [get] |
Color | color [get, set] |
Gets or sets the color used in drawing the path via Draw. More... | |
![]() | |
string | name [get] |
Gets the name of the observable object More... | |
Bounds | bounds [get] |
Gets the bounds of the observable object (size and location) More... | |
Private Attributes | |
List< Vector3 > | _nodes |
List< float > | _times |
BotPath displays information about a recorded path taken or calculated.
Definition at line 9 of file BotPath.cs.
BotPath.BotPath | ( | ) |
Definition at line 11 of file BotPath.cs.
void BotPath.AddNode | ( | Vector3 | node, |
float | time | ||
) |
Adds a node to the path.
node | Node. |
time | Time. |
Definition at line 81 of file BotPath.cs.
void BotPath.DrawPath | ( | ) |
Draws the path on screen using Draw class
Definition at line 101 of file BotPath.cs.
|
private |
Definition at line 73 of file BotPath.cs.
|
private |
Definition at line 74 of file BotPath.cs.
|
getprivate set |
Definition at line 59 of file BotPath.cs.
|
getset |
Gets or sets the color used in drawing the path via Draw.
Definition at line 70 of file BotPath.cs.
|
getset |
Gets or sets the name of the csv.
Definition at line 34 of file BotPath.cs.
|
getprivate set |
Gets the total distance this BotPath covers.
Definition at line 39 of file BotPath.cs.
|
get |
Gets the end of the path.
Definition at line 53 of file BotPath.cs.
|
getset |
Gets or sets a value indicating whether this BotPath is highlighted. When highlighted, the path is drawn in white.
true
if highlight; otherwise, false
.
Definition at line 29 of file BotPath.cs.
|
get |
Definition at line 63 of file BotPath.cs.
|
get |
Gets the start of the path.
Definition at line 44 of file BotPath.cs.
|
getset |
Gets or sets a value indicating whether this BotPath is visible.
true
if visible; otherwise, false
.
Definition at line 22 of file BotPath.cs.