space_ex v0.1.1 SpaceEx.SpaceCenter.Light

A light.

Obtained by calling SpaceEx.SpaceCenter.Part.get_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 get_active(conn, this)

Whether the light is switched on.

Link to this function get_color(conn, this)

The color of the light, as an RGB triple.

Link to this function get_part(conn, this)

The part object for this light.

Link to this function get_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.