Polygon#

public class Polygon#

A polygon. Created using addPolygon(java.util.List<org.javatuples.Triplet<Double,Double,Double>>, SpaceCenter.ReferenceFrame, boolean).

java.util.List<org.javatuples.Triplet<Double, Double, Double>> getVertices()#
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

org.javatuples.Triplet<Double, Double, Double> getColor()#
void setColor(org.javatuples.Triplet<Double, Double, Double> value)#

Set the color

Game Scenes:

Flight

String getMaterial()#
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