Difference between revisions of "Oolite JavaScript Reference: ExhaustPlume"

From Elite Wiki
(Created page with "<small>'''Prototype:''' <code>Entity</code></small><br /> The '''<code>Exhaust</code>''' class is an <code>[[Oolite JavaScript Referen...")
 
(Fix class name)
Line 1: Line 1:
 
<small>'''Prototype:''' <code>[[Oolite JavaScript Reference: Entity|Entity]]</code></small><br />
 
<small>'''Prototype:''' <code>[[Oolite JavaScript Reference: Entity|Entity]]</code></small><br />
   
The '''<code>Exhaust</code>''' class is an <code>[[Oolite JavaScript Reference: Entity|Entity]]</code> representing a ship's exhaust. It has all the properties and methods of an Entity, and several others. Available from Oolite 1.79 onwards.
+
The '''<code>ExhaustPlume</code>''' class is an <code>[[Oolite JavaScript Reference: Entity|Entity]]</code> representing a ship's exhaust. It has all the properties and methods of an Entity, and several others. Available from Oolite 1.79 onwards.
   
 
== Properties ==
 
== Properties ==

Revision as of 21:53, 27 November 2013

Prototype: Entity

The ExhaustPlume class is an Entity representing a ship's exhaust. It has all the properties and methods of an Entity, and several others. Available from Oolite 1.79 onwards.

Properties

This property was added in Oolite test release 1.79.

size

size : Vector (read/write)

The size of the exhaust. The 'x' and 'y' values are the radius in the 'x' and 'y' plane of the associated ship, in metres. The 'z' value is the relative size of the exhaust - the absolute size being dependent on ship speed - with 1.0 being the default, and values between 0.5 and 2.0 allowed.

Methods

This method was added in Oolite test release 1.79.

remove

function remove()

Remove the exhaust completely from the ship