Sphere#
- public class Sphere#
A solid sphere. Created using
addSphere(org.javatuples.Triplet<Double,Double,Double>, double, SpaceCenter.ReferenceFrame, boolean).Note
The sphere is drawn with an additive material, so a darker color draws it more transparent.
- void setCenter(org.javatuples.Triplet<Double, Double, Double> value)#
Position of the center of the sphere.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- double getRadius()#
- void setRadius(double value)#
Radius of the sphere, in meters.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- SpaceCenter.ReferenceFrame getReferenceFrame()#
- void setReferenceFrame(SpaceCenter.ReferenceFrame value)#
Reference frame for the positions of the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- boolean getVisible()#
- void setVisible(boolean value)#
Whether the object is visible.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void setColor(StdLib.ColorRGB value)#
The color of the object.
- Game Scenes:
Flight, Tracking Station, Editor Vab, Editor Sph
- void setMaterial(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