Path#

class Path#

The base class of orbit paths and of the paths whose points are in a reference frame.

Base class: Drawable
Derived classes: FramedPath, OrbitPath

Inherited Members

colors#

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

Attribute:

Can be read or written

Return type:

list(StdLib.ColorRGB)

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

Note

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

thickness#

The thickness of the path.

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

start_arrow#

Whether an arrow head is drawn at the start.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

end_arrow#

Whether an arrow head is drawn at the end.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

arrow_size#

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

Attribute:

Can be read or written

Return type:

float

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

dashed#

Whether the path is drawn as a dashed line.

Attribute:

Can be read or written

Return type:

bool

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

label#

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

Attribute:

Can be read or written

Return type:

str

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph