![]() |
Kerbal Space Program
1.12.4
|
A node on the comm network. Used for everything, vessels, ground stations, etc. More...
Classes | |
| class | AntennaInfo |
| Holds information about the node's transceiver capabilities More... | |
Public Member Functions | |
| CommNode () | |
| CommNode (Transform transform) | |
| virtual double | GetSignalStrengthMultiplier (CommNode b) |
| Called when establishing a link between this and another CommNode. Allows each CommNode to apply a situational modifier to the link strength. More... | |
| override void | NetworkPostUpdate () |
| Passes on the call More... | |
| override void | NetworkPreUpdate () |
| Updates regular position, if a precise position is available it should be set in OnNetworkPreUpdate More... | |
| override string | ToString () |
Public Attributes | |
| AntennaInfo | antennaTransmit = new AntennaInfo() |
| double | distanceOffset = 0d |
| The distance offset, if any, to distance calculations More... | |
| bool | isControlSource = false |
| bool | isControlSourceMultiHop = true |
| bool | isHome |
| Func< CommNode, double > | OnLinkCreateSignalModifier |
| Action | OnNetworkPostUpdate |
| Action | OnNetworkPreUpdate |
| DoubleCurve | scienceCurve |
Protected Attributes | |
| string | _displayname = "" |
| string | _name = "" |
| Vector3d | _position |
Properties | |
| override string | displayName [get, set] |
| override string | name [get, set] |
| override Vector3d | position [get] |
| The transform position, always up-to-date More... | |
| virtual Vector3d | precisePosition [get, set] |
| the Vector3d position, updated only when the network updates More... | |
| Transform | transform [get, set] |
A node on the comm network. Used for everything, vessels, ground stations, etc.
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
Passes on the call
|
inline |
Updates regular position, if a precise position is available it should be set in OnNetworkPreUpdate
|
inline |
|
protected |
|
protected |
|
protected |
| AntennaInfo CommNet.CommNode.antennaTransmit = new AntennaInfo() |
| double CommNet.CommNode.distanceOffset = 0d |
The distance offset, if any, to distance calculations
| bool CommNet.CommNode.isControlSource = false |
| bool CommNet.CommNode.isControlSourceMultiHop = true |
| bool CommNet.CommNode.isHome |
| Func<CommNode, double> CommNet.CommNode.OnLinkCreateSignalModifier |
| Action CommNet.CommNode.OnNetworkPostUpdate |
| Action CommNet.CommNode.OnNetworkPreUpdate |
| DoubleCurve CommNet.CommNode.scienceCurve |
|
getset |
|
getset |
|
get |
The transform position, always up-to-date
|
getset |
the Vector3d position, updated only when the network updates
|
getset |
1.8.7