.. 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. .. 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 .. attribute:: reference_frame: SpaceCenter.ReferenceFrame Reference frame for the positions of the object. :Attribute: Can be read or written .. attribute:: visible: boolean Whether the object is visible. :Attribute: Can be read or written .. attribute:: color: StdLib.ColorRGB The color of the object. :Attribute: Can be read or written .. attribute:: material: string Material used to render the object. Creates the material from a shader with the given name. :Attribute: Can be read or written .. method:: remove() Remove the object.