.. default-domain:: lua .. highlight:: lua .. currentmodule:: Drawing Sphere ====== .. class:: Sphere A solid sphere. Created using :meth:`Drawing.add_sphere`. .. note:: The sphere is drawn with an additive material, so a darker color draws it more transparent. | Base class: :class:`Drawing.SphereShape` .. container:: inherited-members .. rubric:: Inherited Members * From :class:`Drawing.SphereShape`: :attr:`reference_frame ` * From :class:`Drawing.Drawable`: :attr:`visible `, :attr:`color `, :attr:`material `, :meth:`remove ` .. attribute:: center: Tuple Position of the center of the sphere. :Attribute: Can be read or written .. attribute:: radius: number Radius of the sphere, in meters. :Attribute: Can be read or written