.. default-domain:: cpp .. highlight:: cpp .. namespace:: krpc::services::Drawing NavballMarker ============= .. class:: NavballMarker A marker drawn on the navball. Created using :func:`add_navball_marker`. .. note:: A visible marker is still hidden while it is on the far side of the navball. | Base class: :class:`Marker` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Marker`: :func:`reference_frame `, :func:`set_reference_frame `, :func:`image `, :func:`set_image ` * From :class:`Drawable`: :func:`visible `, :func:`set_visible `, :func:`color `, :func:`set_color `, :func:`material `, :func:`set_material `, :func:`remove ` .. function:: std::tuple direction() .. function:: void set_direction(std::tuple value) Direction that the marker is drawn at. :Game Scenes: Flight .. function:: std::string icon() .. function:: void set_icon(std::string value) The icon that the marker is drawn with. See :func:`NavballMarker::available_icons` for the icons that can be used. :Game Scenes: Flight .. function:: static std::vector available_icons(krpc::Connection& connection) A list of all available icons, taken from "GameData/Squad/Contracts/Icons/". :Game Scenes: Flight .. function:: float size() .. function:: void set_size(float value) Size of the marker, relative to the size of the navball's own markers. :Game Scenes: Flight