![]() |
Kerbal Space Program
1.12.4
|
An interface which any partmodule which offers antenna functionality should implement. More...
Public Member Functions | |
| bool | CanComm () |
| Is currently active More... | |
| bool | CanCommUnloaded (ProtoPartModuleSnapshot mSnap) |
| Is active, but called when the vessel is unloaded. This is called on the prefab module on the part prefab and passed the ProtoPartModuleSnapshot on the relevant unloaded vessel. More... | |
| bool | CanScienceTo (bool combined, double bPower, double sqrDistance) |
| Can this antenna transmit to a node of the given strength at the given distance (NOTE: Squared distance) More... | |
| double | CommPowerUnloaded (ProtoPartModuleSnapshot mSnap) |
| Called to get antenna power when unloaded More... | |
Properties | |
| bool | CommCombinable [get] |
| Is this antenna combinable with others? More... | |
| double | CommCombinableExponent [get] |
| Get the combinability exponent More... | |
| double | CommPower [get] |
| The strength of this antenna More... | |
| DoubleCurve | CommRangeCurve [get] |
| The range curve of this antenna More... | |
| DoubleCurve | CommScienceCurve [get] |
| the science curve of this antenna More... | |
| AntennaType | CommType [get] |
| The type of this antenna More... | |
An interface which any partmodule which offers antenna functionality should implement.
| bool ICommAntenna.CanComm | ( | ) |
| bool ICommAntenna.CanCommUnloaded | ( | ProtoPartModuleSnapshot | mSnap | ) |
Is active, but called when the vessel is unloaded. This is called on the prefab module on the part prefab and passed the ProtoPartModuleSnapshot on the relevant unloaded vessel.
| mSnap | The ProtoPartModuleSnapshot of the partmodule on the relevant vessel |
Implemented in ModuleDataTransmitter, and ModuleGroundCommsPart.
| bool ICommAntenna.CanScienceTo | ( | bool | combined, |
| double | bPower, | ||
| double | sqrDistance | ||
| ) |
Can this antenna transmit to a node of the given strength at the given distance (NOTE: Squared distance)
| combined | Is the active comm of this vessel combined mode? |
| bPower | the strength of the other comm node |
| sqrDistance | the square of the magnitude of the displacement between the two nodes, i.e. distance*distance |
Implemented in ModuleDataTransmitter, and ModuleGroundCommsPart.
| double ICommAntenna.CommPowerUnloaded | ( | ProtoPartModuleSnapshot | mSnap | ) |
Called to get antenna power when unloaded
| mSnap |
Implemented in ModuleDataTransmitter, ModuleGroundExpControl, and ModuleGroundCommsPart.
|
get |
Is this antenna combinable with others?
|
get |
Get the combinability exponent
|
get |
The strength of this antenna
|
get |
The range curve of this antenna
|
get |
the science curve of this antenna
|
get |
The type of this antenna
1.8.7