addSpatialMarker

fun addSpatialMarker(point: Vector2d, callback: MarkerCallback): T

Adds a marker that will be triggered at the closest trajectory point to point.