Antenna¶
- public class Antenna¶
A RemoteTech antenna. Obtained by calling
Comms.getAntennas()orantenna(SpaceCenter.Part).- SpaceCenter.Part getPart()¶
Get the part containing this antenna.
- boolean getHasConnection()¶
Whether the antenna has a connection.
- void setTarget(Target value)¶
The object that the antenna is targetting. This property can be used to set the target to
Target.NONEorTarget.ACTIVE_VESSEL. To set the target to a celestial body, ground station or vessel seeAntenna.getTargetBody(),Antenna.getTargetGroundStation()andAntenna.getTargetVessel().
- SpaceCenter.CelestialBody getTargetBody()¶
- void setTargetBody(SpaceCenter.CelestialBody value)¶
The celestial body the antenna is targetting.
- SpaceCenter.Vessel getTargetVessel()¶
- void setTargetVessel(SpaceCenter.Vessel value)¶
The vessel the antenna is targetting.
- public enum Target¶
The type of object an antenna is targetting. See
Antenna.getTarget().