Oolite JavaScript Reference: Sun

From Elite Wiki

Prototype: Entity
Subtypes: none

This class was added in Oolite test release 1.70.

The Sun class is an Entity representing a sun. A Sun has all the properties and methods of a Entity, and several others. Currently, Oolite supports at most one sun per system, accessible via the system.sun property.

radius

radius : Number (read-only)

The equatorial radius of the sun, in metres.