Polygon#

class Polygon#

A polygon. Created using Drawing.AddPolygon.

IList<Tuple<Double, Double, Double>> Vertices { get; set; }#

Vertices for the polygon.

Game Scenes:

Flight

SpaceCenter.ReferenceFrame ReferenceFrame { get; set; }#

Reference frame for the positions of the object.

Game Scenes:

Flight

Boolean Visible { get; set; }#

Whether the object is visible.

Game Scenes:

Flight

void Remove ()#

Remove the object.

Game Scenes:

Flight

Tuple<Double, Double, Double> Color { get; set; }#

Set the color

Game Scenes:

Flight

String Material { get; set; }#

Material used to render the object. Creates the material from a shader with the given name.

Game Scenes:

Flight

Single Thickness { get; set; }#

Set the thickness

Game Scenes:

Flight