NavballMarker#
- public class NavballMarker#
A marker drawn on the navball. Created using
addNavballMarker(org.javatuples.Triplet<Double,Double,Double>, SpaceCenter.ReferenceFrame, boolean).- void setDirection(org.javatuples.Triplet<Double, Double, Double> value)#
Direction that the marker is drawn at.
- Game Scenes:
Flight
- SpaceCenter.ReferenceFrame getReferenceFrame()#
- void setReferenceFrame(SpaceCenter.ReferenceFrame value)#
Reference frame that the direction of the marker is in.
- Game Scenes:
Flight
- boolean getVisible()#
- void setVisible(boolean value)#
Whether the marker is visible.
- Game Scenes:
Flight
Note
A visible marker is still hidden while it is on the far side of the navball.
- void setIcon(String value)#
The icon that the marker is drawn with. See
NavballMarker.availableIcons()for the icons that can be used.- Game Scenes:
Flight
- void setImage(Image value)#
The image that the marker is drawn with in place of its icon, or null to draw the icon.
- Game Scenes:
Flight
- static java.util.List<String> availableIcons(Connection connection)#
A list of all available icons, taken from “GameData/Squad/Contracts/Icons/”.
- Game Scenes:
Flight
- float getSize()#
- void setSize(float value)#
Size of the marker, relative to the size of the navball’s own markers.
- Game Scenes:
Flight
- void remove()#
Remove the marker.
- Game Scenes:
Flight