Skip to main content
Ctrl+K
kRPC kRPC
  • Getting Started
  • Tutorials
  • User Guides
  • Clients
  • Developer Guide
  • Changelog
  • GitHub
  • Discord
  • Forum
  • Getting Started
  • Tutorials
  • User Guides
  • Clients
  • Developer Guide
  • Changelog
  • GitHub
  • Discord
  • Forum

Section Navigation

  • Python
    • KRPC
      • Service
      • Expressions
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • C#
    • KRPC
      • Service
      • Expressions
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • C++
    • KRPC
      • Service
      • Expressions
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • C-nano
    • KRPC
      • Service
      • Expressions
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • Java
    • KRPC
      • Service
      • Expressions
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • Lua
    • KRPC
      • Service
      • Expressions
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • JavaScript
    • KRPC
      • Service
      • Expressions
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • HTTP
    • KRPC
      • Service
    • Standard Library
    • SpaceCenter
      • Service
      • Vessel
      • Stage
      • Editor
      • CelestialBody
      • Flight
      • Orbit
      • Closest Approach
      • Control
      • Communications
      • Parts
      • Resources
      • Node
      • ReferenceFrame
      • AutoPilot
      • Camera
      • Waypoints
      • Contracts
      • Alarms
    • Drawing
      • Service
      • Arc
      • Box
      • Circle
      • Image
      • Line
      • MapMarker
      • NavballMarker
      • OrbitPath
      • Point
      • Polygon
      • Polyline
      • Sphere
      • Text
    • User Interface
      • Service
      • Canvas
      • Panel
      • Text
      • Button
      • InputField
      • Toggle
      • Toggle Group
      • Slider
      • Dropdown
      • Image
      • Scroll View
      • Layout
      • Layout Element
      • Size Fitter
      • Rect Transform
    • Debug
      • Service
    • Docking Camera
      • Service
      • Camera
    • InfernalRobotics
      • Service
      • ServoGroup
      • Servo
    • Kerbal Alarm Clock
      • Service
      • Alarm
      • AlarmType
      • AlarmAction
    • Kerbal Engineer Redux
      • Service
      • Impact
      • Suicide Burn
      • Stage
      • Burn Time
      • Rendezvous
    • LIDAR
      • Service
      • Laser
    • MechJeb
      • Service
      • AscentGuidance
      • Utilities
      • ManeuverPlanner
      • LandingGuidance
      • RendezvousAutopilot
      • DockingAutopilot
      • AircraftAutopilot
      • AircraftApproach
      • RoverAutopilot
      • SmartASS
      • SmartRCS
      • Translatron
      • AttitudeAdjustment
      • TargetController
      • Migration from KRPC.MechJeb 0.7.1
    • Raster Prop Monitor
      • Service
      • Computer
      • Monitor
      • Display
      • External Camera
    • RemoteTech
      • Service
      • Comms
      • Antenna
    • SCANsat
      • Service
      • Scanner
      • Map
    • Trajectories
      • Service
      • Patch
      • DescentProfile
      • DescentProfileNode
  • Clients
  • C++
  • Drawing
  • NavballMarker

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.

StdLib::ColorRGB color()#
void set_color(StdLib::ColorRGB value)#

Set the color

Game Scenes:

Flight

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

std::optional<Image> image()#
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(krpc::Connection &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

previous

MapMarker

next

OrbitPath

Show Source

© Copyright 2015-2026, kRPC Org.

Created using Sphinx 9.1.1.

Built with the PyData Sphinx Theme 0.24.0.