TrackRide

class TrackRide(val id: Int, val origin: Location)(source)

Constructors

Link copied to clipboard
constructor(id: Int, origin: Location)

Properties

Link copied to clipboard
val id: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val origin: Location
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addNodes(nodes: List<TrackNode>)

Adds the given list of TrackNode objects to the nodes list of the TrackRide class.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun hideTrack()
Link copied to clipboard
fun highlightNode(nodeId: Int)

Highlights a node by changing its display entity to the highlighted material and updating the highlightedNode field.

Link copied to clipboard
Link copied to clipboard
fun setSegmentType(nodeIdStart: Int, nodeIdEnd: Int, segment: TrackSegment)