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
- Return type:
Tuple
- reference_frame: SpaceCenter.ReferenceFrame#
Reference frame that the direction of the marker is in.
- Attribute:
Can be read or written
- Return type:
- visible: boolean#
Whether the marker is visible.
- Attribute:
Can be read or written
- Return type:
boolean
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
- Return type:
- 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
- Return type:
string
- image: Drawing.Image#
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
- Return type:
Drawing.ImageorTypes.none
- static available_icons()#
A list of all available icons, taken from “GameData/Squad/Contracts/Icons/”.
- Return type:
List
- size: number#
Size of the marker, relative to the size of the navball’s own markers.
- Attribute:
Can be read or written
- Return type:
number
- remove()#
Remove the marker.