space_ex v0.3.0 SpaceEx.SpaceCenter.Light

A light.

Obtained by calling SpaceEx.SpaceCenter.Part.light/2.

Link to this section Summary

Functions

Whether the light is switched on

The color of the light, as an RGB triple

The part object for this light

The current power usage, in units of charge per second

Whether the light is switched on

The color of the light, as an RGB triple

Link to this section Functions

Link to this function active(conn, this)

Whether the light is switched on.

Link to this function color(conn, this)

The color of the light, as an RGB triple.

Link to this function part(conn, this)

The part object for this light.

Link to this function power_usage(conn, this)

The current power usage, in units of charge per second.

Link to this function set_active(conn, this, value)

Whether the light is switched on.

Link to this function set_color(conn, this, value)

The color of the light, as an RGB triple.