Drawable#

type krpc_Drawing_Drawable_t#

The base class of boxes, markers, paths, points, spheres and text.

KRPC_CLASS_DRAWING_DRAWABLE#

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

krpc_error_t krpc_Drawing_Drawable_Visible(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Drawable_t instance)#
krpc_error_t krpc_Drawing_Drawable_set_Visible(krpc_connection_t connection, krpc_Drawing_Drawable_t instance, bool value)#

Whether the object is visible.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Drawable_Color(krpc_connection_t connection, krpc_StdLib_ColorRGB_t *returnValue, krpc_Drawing_Drawable_t instance)#
krpc_error_t krpc_Drawing_Drawable_set_Color(krpc_connection_t connection, krpc_Drawing_Drawable_t instance, const krpc_StdLib_ColorRGB_t *value)#

The color of the object.

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_Drawable_Material(krpc_connection_t connection, char **returnValue, krpc_Drawing_Drawable_t instance)#
krpc_error_t krpc_Drawing_Drawable_set_Material(krpc_connection_t connection, krpc_Drawing_Drawable_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.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Drawable_Remove(krpc_connection_t connection, krpc_Drawing_Drawable_t instance)#

Remove the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph