Polyline#

public class Polyline#

A line through a list of vertices, open at its ends. Created using addPolyline(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 polyline.

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

StdLib.ColorRGB getColor()#
void setColor(StdLib.ColorRGB value)#

The color of the path.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Note

For a path drawn with more than one color, this is the color at its start.

java.util.List<StdLib.ColorRGB> getColors()#
void setColors(java.util.List<StdLib.ColorRGB> value)#

The colors of the path, blended evenly from its start to its end.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Note

Throws an exception if the list is empty or holds more than 8 colors.

float getThickness()#
void setThickness(float value)#

The thickness of the path.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

boolean getStartArrow()#
void setStartArrow(boolean value)#

Whether an arrow head is drawn at the start.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

boolean getEndArrow()#
void setEndArrow(boolean value)#

Whether an arrow head is drawn at the end.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

float getArrowSize()#
void setArrowSize(float value)#

The size of the arrow heads, relative to the thickness.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

boolean getDashed()#
void setDashed(boolean value)#

Whether the path is drawn as a dashed line.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

String getLabel()#
void setLabel(String value)#

Text drawn halfway along the path, facing the camera. Empty for no label.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

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, Tracking Station, Editor Vab, Editor Sph

void remove()#

Remove the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph