Create Waypoint Object. Contains User defined Input for a specific Event on a Entity Path Represents an Event in the .xosc File.
More...
|
| Waypoint () |
| Initializes a new empty instance of the Waypoint class.
|
|
| Waypoint (Location location, ActionType actionTypeInfo, List< TriggerInfo > triggerList, WaypointStrategy strategy=WaypointStrategy.FASTEST) |
| Initializes a new instance of the Waypoint class with a given location, action type info, trigger list, and priority.
|
|
void | setPosition (float x, float y) |
| Sets the position of the Waypoint to the given coordinates.
|
|
void | CalculateLocationCarla () |
| Calculates the location of the Waypoint in Carla given the corresponding Unity Coordinates and fills the LocationCarla property.
|
|
object | Clone () |
| Clones the Waypoint object.
|
|
Create Waypoint Object. Contains User defined Input for a specific Event on a Entity Path Represents an Event in the .xosc File.
◆ Waypoint()
Initializes a new instance of the Waypoint class with a given location, action type info, trigger list, and priority.
- Parameters
-
location | The location of the Waypoint |
actionTypeInfo | The ActionType info of the Waypoint |
triggerList | The list of triggers of the Waypoint |
priority | The priority of the Waypoint |
◆ Clone()
object Entity.Waypoint.Clone |
( |
| ) |
|
|
inline |
Clones the Waypoint object.
- Returns
- A cloned Waypoint object
◆ setPosition()
void Entity.Waypoint.setPosition |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
inline |
Sets the position of the Waypoint to the given coordinates.
- Parameters
-
x | The x-coordinate of the Waypoint |
y | The y-coordinate of the Waypoint |
The documentation for this class was generated from the following file:
- C:/Users/stefa/source/repos/AI_Testing_Simulator/Unity/Assets/Entities/Waypoint.cs