.. default-domain:: c .. highlight:: c SphereShape =========== .. type:: krpc_Drawing_SphereShape_t The base class of points and spheres, drawn at a position in a reference frame. | Base class: :type:`krpc_Drawing_Drawable_t` | Derived classes: :type:`krpc_Drawing_Point_t`, :type:`krpc_Drawing_Sphere_t` .. macro:: KRPC_CLASS_DRAWING_SPHERESHAPE The service and class ids of the class, for :func:`krpc_KRPC_Type_ClassTypeById`. .. function:: krpc_error_t krpc_Drawing_SphereShape_ReferenceFrame(krpc_connection_t connection, krpc_SpaceCenter_ReferenceFrame_t * returnValue, krpc_Drawing_SphereShape_t instance) .. function:: krpc_error_t krpc_Drawing_SphereShape_set_ReferenceFrame(krpc_connection_t connection, krpc_Drawing_SphereShape_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_SphereShape_Visible(krpc_connection_t connection, bool * returnValue, krpc_Drawing_SphereShape_t instance) .. function:: krpc_error_t krpc_Drawing_SphereShape_set_Visible(krpc_connection_t connection, krpc_Drawing_SphereShape_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_SphereShape_Color(krpc_connection_t connection, krpc_StdLib_ColorRGB_t * returnValue, krpc_Drawing_SphereShape_t instance) .. function:: krpc_error_t krpc_Drawing_SphereShape_set_Color(krpc_connection_t connection, krpc_Drawing_SphereShape_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_SphereShape_Material(krpc_connection_t connection, char * * returnValue, krpc_Drawing_SphereShape_t instance) .. function:: krpc_error_t krpc_Drawing_SphereShape_set_Material(krpc_connection_t connection, krpc_Drawing_SphereShape_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_SphereShape_Remove(krpc_connection_t connection, krpc_Drawing_SphereShape_t instance) Remove the object. Inherited from :func:`krpc_Drawing_Drawable_Remove`. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph