.. default-domain:: c .. highlight:: c FramedPath ========== .. type:: krpc_Drawing_FramedPath_t The base class of arcs, circles, lines, polygons and polylines, whose points are positions in a reference frame. | Base class: :type:`krpc_Drawing_Path_t` | Derived classes: :type:`krpc_Drawing_Arc_t`, :type:`krpc_Drawing_Circle_t`, :type:`krpc_Drawing_Line_t`, :type:`krpc_Drawing_Polygon_t`, :type:`krpc_Drawing_Polyline_t` .. macro:: KRPC_CLASS_DRAWING_FRAMEDPATH The service and class ids of the class, for :func:`krpc_KRPC_Type_ClassTypeById`. .. function:: krpc_error_t krpc_Drawing_FramedPath_ReferenceFrame(krpc_connection_t connection, krpc_SpaceCenter_ReferenceFrame_t * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_ReferenceFrame(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, krpc_SpaceCenter_ReferenceFrame_t value) The reference frame for the positions of the object. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_Visible(krpc_connection_t connection, bool * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_Visible(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, bool value) Whether the object is visible. Inherited from :func:`krpc_Drawing_Drawable_Visible`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_Color(krpc_connection_t connection, krpc_StdLib_ColorRGB_t * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_Color(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, const krpc_StdLib_ColorRGB_t * value) The color of the object. Inherited from :func:`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. .. function:: krpc_error_t krpc_Drawing_FramedPath_Colors(krpc_connection_t connection, krpc_list_StdLib_ColorRGB_t * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_Colors(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, const krpc_list_StdLib_ColorRGB_t * value) The colors of the path, blended evenly from its start to its end. Inherited from :func:`krpc_Drawing_Path_Colors`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. note:: Throws an exception if the list is empty or holds more than 8 colors. .. function:: krpc_error_t krpc_Drawing_FramedPath_Thickness(krpc_connection_t connection, float * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_Thickness(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, float value) The thickness of the path. Inherited from :func:`krpc_Drawing_Path_Thickness`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_StartArrow(krpc_connection_t connection, bool * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_StartArrow(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, bool value) Whether an arrow head is drawn at the start. Inherited from :func:`krpc_Drawing_Path_StartArrow`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_EndArrow(krpc_connection_t connection, bool * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_EndArrow(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, bool value) Whether an arrow head is drawn at the end. Inherited from :func:`krpc_Drawing_Path_EndArrow`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_ArrowSize(krpc_connection_t connection, float * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_ArrowSize(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, float value) The size of the arrow heads, relative to the thickness. Inherited from :func:`krpc_Drawing_Path_ArrowSize`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_Dashed(krpc_connection_t connection, bool * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_Dashed(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, bool value) Whether the path is drawn as a dashed line. Inherited from :func:`krpc_Drawing_Path_Dashed`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_Label(krpc_connection_t connection, char * * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_Label(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance, const char * value) The text drawn halfway along the path, facing the camera. Empty for no label. Inherited from :func:`krpc_Drawing_Path_Label`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_Material(krpc_connection_t connection, char * * returnValue, krpc_Drawing_FramedPath_t instance) .. function:: krpc_error_t krpc_Drawing_FramedPath_set_Material(krpc_connection_t connection, krpc_Drawing_FramedPath_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 :func:`krpc_Drawing_Drawable_Material`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: krpc_error_t krpc_Drawing_FramedPath_Remove(krpc_connection_t connection, krpc_Drawing_FramedPath_t instance) Remove the object. Inherited from :func:`krpc_Drawing_Drawable_Remove`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph