Marker

@Serializable
class Marker(val trigger: MarkerTrigger, val callback: MarkerCallback = MarkerCallback {})

Represents a trajectory marker, which consists of a trigger condition and a callback to execute when triggered.

Constructors

Link copied to clipboard
constructor(trigger: MarkerTrigger, callback: MarkerCallback = MarkerCallback {})

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The action to execute when the marker is triggered.

Link copied to clipboard

The condition under which the marker should be triggered.

Functions

Link copied to clipboard

Returns a copy of this marker with a new callback.