Line#

type krpc_Drawing_Line_t#

A line. Created using krpc_Drawing_AddLine().

krpc_error_t krpc_Drawing_Line_Start(krpc_connection_t connection, krpc_tuple_double_double_double_t *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Start(krpc_connection_t connection, krpc_Drawing_Line_t instance, const krpc_tuple_double_double_double_t *value)#

Start position of the line.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_End(krpc_connection_t connection, krpc_tuple_double_double_double_t *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_End(krpc_connection_t connection, krpc_Drawing_Line_t instance, const krpc_tuple_double_double_double_t *value)#

End position of the line.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_ReferenceFrame(krpc_connection_t connection, krpc_SpaceCenter_ReferenceFrame_t *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_ReferenceFrame(krpc_connection_t connection, krpc_Drawing_Line_t instance, krpc_SpaceCenter_ReferenceFrame_t value)#

Reference frame for the positions of the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_Visible(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Visible(krpc_connection_t connection, krpc_Drawing_Line_t instance, bool value)#

Whether the object is visible.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_Color(krpc_connection_t connection, krpc_StdLib_ColorRGB_t *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Color(krpc_connection_t connection, krpc_Drawing_Line_t instance, const krpc_StdLib_ColorRGB_t *value)#

The color of the path.

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_Line_Colors(krpc_connection_t connection, krpc_list_StdLib_ColorRGB_t *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Colors(krpc_connection_t connection, krpc_Drawing_Line_t instance, const krpc_list_StdLib_ColorRGB_t *value)#

The colors of the path, blended evenly from its start to its end.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Note

Throws an exception if the list is empty or holds more than 8 colors.

krpc_error_t krpc_Drawing_Line_Thickness(krpc_connection_t connection, float *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Thickness(krpc_connection_t connection, krpc_Drawing_Line_t instance, float value)#

The thickness of the path.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_StartArrow(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_StartArrow(krpc_connection_t connection, krpc_Drawing_Line_t instance, bool value)#

Whether an arrow head is drawn at the start.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_EndArrow(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_EndArrow(krpc_connection_t connection, krpc_Drawing_Line_t instance, bool value)#

Whether an arrow head is drawn at the end.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_ArrowSize(krpc_connection_t connection, float *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_ArrowSize(krpc_connection_t connection, krpc_Drawing_Line_t instance, float value)#

The size of the arrow heads, relative to the thickness.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_Dashed(krpc_connection_t connection, bool *returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Dashed(krpc_connection_t connection, krpc_Drawing_Line_t instance, bool value)#

Whether the path is drawn as a dashed line.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_Label(krpc_connection_t connection, char **returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Label(krpc_connection_t connection, krpc_Drawing_Line_t instance, const char *value)#

Text drawn halfway along the path, facing the camera. Empty for no label.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_Material(krpc_connection_t connection, char **returnValue, krpc_Drawing_Line_t instance)#
krpc_error_t krpc_Drawing_Line_set_Material(krpc_connection_t connection, krpc_Drawing_Line_t instance, const char *value)#

Material used to render the object. Creates the material from a shader with the given name.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

krpc_error_t krpc_Drawing_Line_Remove(krpc_connection_t connection, krpc_Drawing_Line_t instance)#

Remove the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph