Marker#

type krpc_Drawing_Marker_t#

The base class of map markers and navball markers.

KRPC_CLASS_DRAWING_MARKER#

The service and class ids of the class, for krpc_KRPC_Type_ClassTypeById().

krpc_error_t krpc_Drawing_Marker_ReferenceFrame(krpc_connection_t connection, krpc_SpaceCenter_ReferenceFrame_t *returnValue, krpc_Drawing_Marker_t instance)#
krpc_error_t krpc_Drawing_Marker_set_ReferenceFrame(krpc_connection_t connection, krpc_Drawing_Marker_t instance, krpc_SpaceCenter_ReferenceFrame_t value)#

The reference frame that the position or direction of the marker is in.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Marker_Visible(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Marker_t instance)#
krpc_error_t krpc_Drawing_Marker_set_Visible(krpc_connection_t connection, krpc_Drawing_Marker_t instance, bool value)#

Whether the object is visible.

Inherited from krpc_Drawing_Drawable_Visible().

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Marker_Color(krpc_connection_t connection, krpc_StdLib_ColorRGB_t *returnValue, krpc_Drawing_Marker_t instance)#
krpc_error_t krpc_Drawing_Marker_set_Color(krpc_connection_t connection, krpc_Drawing_Marker_t instance, const krpc_StdLib_ColorRGB_t *value)#

The color of the object.

Inherited from krpc_Drawing_Drawable_Color().

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Note

For a path drawn with more than one color, this is the color at its start.

krpc_error_t krpc_Drawing_Marker_Image(krpc_connection_t connection, krpc_Drawing_Image_t *returnValue, krpc_Drawing_Marker_t instance)#
krpc_error_t krpc_Drawing_Marker_set_Image(krpc_connection_t connection, krpc_Drawing_Marker_t instance, krpc_Drawing_Image_t value)#

The image that the marker is drawn with in place of its icon, or null to draw the icon.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Marker_Material(krpc_connection_t connection, char **returnValue, krpc_Drawing_Marker_t instance)#
krpc_error_t krpc_Drawing_Marker_set_Material(krpc_connection_t connection, krpc_Drawing_Marker_t instance, const char *value)#

The material used to render the object. Creates the material from a shader with the given name. Throws an exception if the object is a marker, which the game draws with its own material.

Inherited from krpc_Drawing_Drawable_Material().

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Marker_Remove(krpc_connection_t connection, krpc_Drawing_Marker_t instance)#

Remove the object.

Inherited from krpc_Drawing_Drawable_Remove().

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph