IRouteWaypoints80

This interface gives access to all of a route’s waypoints, providing methods to add, modify, and delete waypoints and retrieve information about them.

Note:    When IRouteWaypoints80 represents the waypoints of a dynamic object, the IRouteWaypoint80 orientation properties (Yaw, Pitch, Roll) are ignored.

 

 

Properties

 

Count

Gets the number of waypoints in the route.

Current

Gets the current playing route waypoint. The last waypoint passed through is reported.

Item

Gets the IRouteWaypoint80 element in the specified zero-based index.

 

Methods

 

AddWaypoint

Adds a waypoint to the end of a route.

DeleteWaypoint

Deletes a waypoint from the route.

FromArray

Converts an array of waypoints to a route.

GetWaypoint

Retrieves waypoint data.

InsertWaypoint

Inserts a waypoint at a specified point in the route.

ModifyWaypoint

Modifies a waypoint’s properties.

ToArray

Returns an array containing all of the waypoints in the collection.