Polygon#
- public class Polygon#
A polygon. Created using
addPolygon(java.util.List<org.javatuples.Triplet<Double,Double,Double>>, SpaceCenter.ReferenceFrame, boolean).- void setVertices(java.util.List<org.javatuples.Triplet<Double, Double, Double>> value)#
Vertices for the polygon.
- Game Scenes:
Flight
- SpaceCenter.ReferenceFrame getReferenceFrame()#
- void setReferenceFrame(SpaceCenter.ReferenceFrame value)#
Reference frame for the positions of the object.
- Game Scenes:
Flight
- boolean getVisible()#
- void setVisible(boolean value)#
Whether the object is visible.
- Game Scenes:
Flight
- void remove()#
Remove the object.
- Game Scenes:
Flight
- void setColor(org.javatuples.Triplet<Double, Double, Double> value)#
Set the color
- Game Scenes:
Flight
- void setMaterial(String value)#
Material used to render the object. Creates the material from a shader with the given name.
- Game Scenes:
Flight
- float getThickness()#
- void setThickness(float value)#
Set the thickness
- Game Scenes:
Flight