NavballMarker#
- class Drawing.NavballMarker#
A marker drawn on the navball. Created using
Drawing.add_navball_marker().-
direction:
Tuple# Direction that the marker is drawn at.
- Attribute:
Can be read or written
-
reference_frame:
SpaceCenter.ReferenceFrame# Reference frame that the direction of the marker is in.
- Attribute:
Can be read or written
-
visible:
boolean# Whether the marker is visible.
- Attribute:
Can be read or written
Note
A visible marker is still hidden while it is on the far side of the navball.
-
color:
StdLib.ColorRGB# Set the color
- Attribute:
Can be read or written
-
icon:
string# The icon that the marker is drawn with. See
Drawing.NavballMarker.available_icons()for the icons that can be used.- Attribute:
Can be read or written
-
image:
Drawing.Image|nil# The image that the marker is drawn with in place of its icon, or null to draw the icon.
- Attribute:
Can be read or written
-
staticmethod available_icons():
List# A list of all available icons, taken from “GameData/Squad/Contracts/Icons/”.
-
size:
number# Size of the marker, relative to the size of the navball’s own markers.
- Attribute:
Can be read or written
- remove()#
Remove the marker.
-
direction: