.. default-domain:: js .. highlight:: js .. module:: Drawing :no-index: NavballMarker ============= .. class:: NavballMarker A marker drawn on the navball. Created using :func:`Drawing.addNavballMarker`. .. note:: A visible marker is still hidden while it is on the far side of the navball. | Base class: :class:`Drawing.Marker` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawing.Marker`: :meth:`getReferenceFrame `, :meth:`setReferenceFrame `, :meth:`getImage `, :meth:`setImage ` * From :class:`Drawing.Drawable`: :meth:`getVisible `, :meth:`setVisible `, :meth:`getColor `, :meth:`setColor `, :meth:`getMaterial `, :meth:`setMaterial `, :meth:`remove ` .. method:: getDirection() setDirection(value) Direction that the marker is drawn at. :Property: Can be read or written :rtype: ``[number, number, number]`` :Game Scenes: Flight .. method:: getIcon() setIcon(value) The icon that the marker is drawn with. See :meth:`Drawing.NavballMarker.availableIcons` for the icons that can be used. :Property: Can be read or written :rtype: ``string`` :Game Scenes: Flight .. function:: availableIcons() A list of all available icons, taken from "GameData/Squad/Contracts/Icons/". :rtype: ``Array`` of ``string`` :Game Scenes: Flight .. method:: getSize() setSize(value) Size of the marker, relative to the size of the navball's own markers. :Property: Can be read or written :rtype: ``number`` :Game Scenes: Flight