NavballMarker#
- class Drawing.NavballMarker()#
A marker drawn on the navball. Created using
Drawing.addNavballMarker().- NavballMarker.getDirection()#
- NavballMarker.setDirection(value)#
Direction that the marker is drawn at.
- Property:
Can be read or written
- Return type:
[number, number, number]- Game Scenes:
Flight
- NavballMarker.getReferenceFrame()#
- NavballMarker.setReferenceFrame(value)#
Reference frame that the direction of the marker is in.
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight
- NavballMarker.getVisible()#
- NavballMarker.setVisible(value)#
Whether the marker is visible.
- Property:
Can be read or written
- Return type:
boolean- Game Scenes:
Flight
Note
A visible marker is still hidden while it is on the far side of the navball.
- NavballMarker.getColor()#
- NavballMarker.setColor(value)#
Set the color
- Property:
Can be read or written
- Return type:
- Game Scenes:
Flight
- NavballMarker.getIcon()#
- NavballMarker.setIcon(value)#
The icon that the marker is drawn with. See
Drawing.NavballMarker.availableIcons()for the icons that can be used.- Property:
Can be read or written
- Return type:
string- Game Scenes:
Flight
- NavballMarker.getImage()#
- NavballMarker.setImage(value)#
The image that the marker is drawn with in place of its icon, or null to draw the icon.
- Property:
Can be read or written
- Return type:
Drawing.Imageornull- Game Scenes:
Flight
- NavballMarker.availableIcons()#
A list of all available icons, taken from “GameData/Squad/Contracts/Icons/”.
- Return type:
Arrayofstring- Game Scenes:
Flight
- NavballMarker.getSize()#
- NavballMarker.setSize(value)#
Size of the marker, relative to the size of the navball’s own markers.
- Property:
Can be read or written
- Return type:
number- Game Scenes:
Flight
- NavballMarker.remove()#
Remove the marker.
- Game Scenes:
Flight