Antenna

class Antenna

A RemoteTech antenna. Obtained by calling Comms.Antennas or RemoteTech.Antenna.

SpaceCenter.Part Part { get; }

Get the part containing this antenna.

Game Scenes:

All

Boolean HasConnection { get; }

Whether the antenna has a connection.

Game Scenes:

All

Target Target { get; set; }

The object that the antenna is targetting. This property can be used to set the target to Target.None or Target.ActiveVessel. To set the target to a celestial body, ground station or vessel see Antenna.TargetBody, Antenna.TargetGroundStation and Antenna.TargetVessel.

Game Scenes:

All

SpaceCenter.CelestialBody TargetBody { get; set; }

The celestial body the antenna is targetting.

Game Scenes:

All

String TargetGroundStation { get; set; }

The ground station the antenna is targetting.

Game Scenes:

All

SpaceCenter.Vessel TargetVessel { get; set; }

The vessel the antenna is targetting.

Game Scenes:

All

enum Target

The type of object an antenna is targetting. See Antenna.Target.

ActiveVessel

The active vessel.

CelestialBody

A celestial body.

GroundStation

A ground station.

Vessel

A specific vessel.

None

No target.