Drawable#

class Drawable#

The base class of boxes, markers, paths, points, spheres and text.

Derived classes: Box, Marker, Path, SphereShape, Text
bool Visible { get; set; }#

Whether the object is visible.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

StdLib.ColorRGB Color { get; set; }#

The color of the object.

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.

string Material { get; set; }#

The material used to render the object. Creates the material from a shader with the given name. Throws an exception if the object is a marker, which the game draws with its own material.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph

void Remove ()#

Remove the object.

Game Scenes:

Flight, Tracking Station, Editor Vab, Editor Sph