.. default-domain:: cpp .. highlight:: cpp .. namespace:: krpc::services::Drawing Sphere ====== .. class:: Sphere A solid sphere. Created using :func:`add_sphere`. .. note:: The sphere is drawn with an additive material, so a darker color draws it more transparent. | Base class: :class:`SphereShape` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`SphereShape`: :func:`reference_frame `, :func:`set_reference_frame ` * From :class:`Drawable`: :func:`visible `, :func:`set_visible `, :func:`color `, :func:`set_color `, :func:`material `, :func:`set_material `, :func:`remove ` .. function:: std::tuple center() .. function:: void set_center(std::tuple value) Position of the center of the sphere. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. function:: double radius() .. function:: void set_radius(double value) Radius of the sphere, in meters. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph