NavballMarker#
-
class NavballMarker#
A marker drawn on the navball. Created using
add_navball_marker().-
std::tuple<double, double, double> direction()#
-
void set_direction(std::tuple<double, double, double> value)#
Direction that the marker is drawn at.
- Game Scenes:
Flight
-
SpaceCenter::ReferenceFrame reference_frame()#
-
void set_reference_frame(SpaceCenter::ReferenceFrame value)#
Reference frame that the direction of the marker is in.
- Game Scenes:
Flight
-
bool visible()#
-
void set_visible(bool 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.
-
std::string icon()#
-
void set_icon(std::string value)#
The icon that the marker is drawn with. See
NavballMarker::available_icons()for the icons that can be used.- Game Scenes:
Flight
-
void set_image(std::optional<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 std::vector<std::string> available_icons(Client &connection)#
A list of all available icons, taken from “GameData/Squad/Contracts/Icons/”.
- Game Scenes:
Flight
-
float size()#
-
void set_size(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
-
std::tuple<double, double, double> direction()#