Skip to main content
Ctrl+K

kRPC Documentation

  • Getting Started
  • Tutorials
  • C-nano
  • C#
  • C++
  • Java
  • Lua
  • Python
    • Other Clients, Services and Scripts
    • Compiling kRPC
    • Extending kRPC
    • Communication Protocols
    • Internals of kRPC
    • Changelog
  • GitHub
  • Getting Started
  • Tutorials
  • C-nano
  • C#
  • C++
  • Java
  • Lua
  • Python
  • Other Clients, Services and Scripts
  • Compiling kRPC
  • Extending kRPC
  • Communication Protocols
  • Internals of kRPC
  • Changelog
  • GitHub

Section Navigation

  • Java Client
  • KRPC API
    • KRPC
    • Expressions
  • Standard Library
  • SpaceCenter API
    • SpaceCenter
    • Vessel
    • Stage
    • Editor
    • CelestialBody
    • Flight
    • Orbit
    • Closest Approach
    • Control
    • Communications
    • Parts
    • Resources
    • Node
    • ReferenceFrame
    • AutoPilot
    • Camera
    • Waypoints
    • Contracts
    • Geometry Types
    • Alarms
  • Drawing API
    • Drawing
    • Arc
    • Box
    • Circle
    • Image
    • Line
    • MapMarker
    • NavballMarker
    • OrbitPath
    • Point
    • Polygon
    • Polyline
    • Sphere
    • Text
  • User Interface API
    • UI
    • Canvas
    • Panel
    • Text
    • Button
    • InputField
    • Toggle
    • Toggle Group
    • Slider
    • Dropdown
    • Image
    • Scroll View
    • Layout
    • Layout Element
    • Size Fitter
    • Rect Transform
  • InfernalRobotics API
    • InfernalRobotics
    • ServoGroup
    • Servo
  • Kerbal Alarm Clock API
    • KerbalAlarmClock
    • Alarm
    • AlarmType
    • AlarmAction
  • RemoteTech API
    • RemoteTech
    • Comms
    • Antenna
  • LIDAR API
    • LIDAR
    • Laser
  • Docking Camera API
    • DockingCamera
    • Camera
  • Debug API
    • Debug
  • Java
  • Drawing API
  • NavballMarker

NavballMarker#

public class NavballMarker#

A marker drawn on the navball. Created using addNavballMarker(org.javatuples.Triplet<Double,Double,Double>, SpaceCenter.ReferenceFrame, boolean).

org.javatuples.Triplet<Double, Double, Double> getDirection()#
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.

StdLib.ColorRGB getColor()#
void setColor(StdLib.ColorRGB value)#

Set the color

Game Scenes:

Flight

String getIcon()#
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

Image getImage()#
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

previous

MapMarker

next

OrbitPath

Show Source

© Copyright 2015-2026, kRPC Org.

Created using Sphinx 9.1.1.

Built with the PyData Sphinx Theme 0.23.0.