.. default-domain:: py .. highlight:: py .. currentmodule:: Drawing Sphere ====== .. class:: Sphere A solid sphere. Created using :meth:`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`: :attr:`~SphereShape.reference_frame` * From :class:`Drawable`: :attr:`~Drawable.visible`, :attr:`~Drawable.color`, :attr:`~Drawable.material`, :meth:`~Drawable.remove` .. attribute:: center Position of the center of the sphere. :Attribute: Can be read or written :rtype: tuple(float, float, float) :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. attribute:: radius Radius of the sphere, in meters. :Attribute: Can be read or written :rtype: float :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph