Oolite JavaScript Reference: Sun

From Elite Wiki
Revision as of 13:29, 15 October 2007 by Ahruman (talk | contribs) (New page: <small>'''Prototype:''' <code>Entity</code></small><br /> <small>'''Subtypes:''' none {{Oolite-future-scripting}} The '''<code>Sun</code>'''...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Prototype: Entity
Subtypes: none

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.