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.
-
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
-
SpaceCenter::ReferenceFrame reference_frame()#
-
void set_reference_frame(SpaceCenter::ReferenceFrame value)#
Reference frame for the positions of the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
bool visible()#
-
void set_visible(bool value)#
Whether the object is visible.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
void set_color(StdLib::ColorRGB value)#
The color of the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
std::string material()#
-
void set_material(std::string value)#
Material used to render the object. Creates the material from a shader with the given name.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
void remove()#
Remove the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
-
std::tuple<double, double, double> center()#