Sphere#
-
class Sphere#
A solid sphere. Created using
add_sphere().Note
The sphere is drawn with an additive material, so a darker color draws it more transparent.
Base class:SphereShapeInherited Members
From
Drawable:visible,set_visible,color,set_color,material,set_material,remove
-
std::tuple<double, double, double> center()#
-
void set_center(std::tuple<double, double, double> value)#
Position of the center of the sphere.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
double radius()#
-
void set_radius(double value)#
Radius of the sphere, in meters.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph