Sphere#
- class Drawing.Sphere#
A solid sphere. Created using
Drawing.add_sphere().Note
The sphere is drawn with an additive material, so a darker color draws it more transparent.
-
center:
Tuple# Position of the center of the sphere.
- Attribute:
Can be read or written
-
radius:
number# Radius of the sphere, in meters.
- Attribute:
Can be read or written
-
reference_frame:
SpaceCenter.ReferenceFrame# Reference frame for the positions of the object.
- Attribute:
Can be read or written
-
visible:
boolean# Whether the object is visible.
- Attribute:
Can be read or written
-
color:
StdLib.ColorRGB# The color of the object.
- Attribute:
Can be read or written
-
material:
string# Material used to render the object. Creates the material from a shader with the given name.
- Attribute:
Can be read or written
- remove()#
Remove the object.
-
center: