.. default-domain:: java .. highlight:: java .. package:: krpc.client.services.Drawing Sphere ====== .. type:: public class Sphere A solid sphere. Created using :meth:`Drawing.addSphere(org.javatuples.Triplet, double, SpaceCenter.ReferenceFrame, boolean)`. .. note:: The sphere is drawn with an additive material, so a darker color draws it more transparent. | Base class: :type:`SphereShape` .. container:: inherited-members .. rubric:: Inherited Members * From :type:`SphereShape`: :meth:`getReferenceFrame `, :meth:`setReferenceFrame ` * From :type:`Drawable`: :meth:`getVisible `, :meth:`setVisible `, :meth:`getColor `, :meth:`setColor `, :meth:`getMaterial `, :meth:`setMaterial `, :meth:`remove ` .. method:: org.javatuples.Triplet getCenter() .. method:: void setCenter(org.javatuples.Triplet value) Position of the center of the sphere. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph .. method:: double getRadius() .. method:: void setRadius(double value) Radius of the sphere, in meters. :Game Scenes: Flight, Tracking Station, Editor Vab, Editor Sph