DirectionalArrow

data class DirectionalArrow(val targetDistance: Double = 5.0, val targetAltitude: Double = 1.0, val xPercentageOfView: Float = 0.5f, val yPercentageOfView: Float = 0.8f, val distanceFromCamera: Float = 0.5f, val scale: Float = 1.0f)

Configuration for the directional arrow overlay.

Constructors

Link copied to clipboard
constructor(targetDistance: Double = 5.0, targetAltitude: Double = 1.0, xPercentageOfView: Float = 0.5f, yPercentageOfView: Float = 0.8f, distanceFromCamera: Float = 0.5f, scale: Float = 1.0f)

Properties

Link copied to clipboard

Distance from the camera to the arrow's center plane, in meters.

Link copied to clipboard

Uniform scale applied to the arrow model.

Link copied to clipboard

Altitude of the arrow's target point, in meters.

Link copied to clipboard

Distance at which the directional arrow targets the next waypoint, in meters.

Link copied to clipboard

Horizontal position of the arrow center as a fraction of the view width. 0 = left edge, 1 = right edge.

Link copied to clipboard

Vertical position of the arrow center as a fraction of the view height. 0 = top edge, 1 = bottom edge.