Declared in GlobalPositioningSystem
Declaration
void UpdateJammingEffect(
int index,
Vector3 jammerPositionEci,
double effectiveRadiatedPower,
Vector3 boresightDirectionEci,
double beamHalfAngle,
double pathLossExponent,
bool isJammerEnabled
);Description
Overwrites the jammer slot at with new geometry and ERP, sets whether that slot participates in jamming, and turns the RF environment on (same field semantics as when is ).
Parameters
| Name | Description |
|---|---|
| index | Zero-based jammer slot; arrays are grown if needed so the slot exists. |
| jammerPositionEci | [m] Jammer phase centre in ECI. |
| effectiveRadiatedPower | [W] ERP (clamped to non-negative). |
| boresightDirectionEci | Jammer main-lobe axis in ECI; zero vector ⇒ isotropic. |
| beamHalfAngle | [deg] Half-power beam half-angle; ignored when boresight is zero. |
| pathLossExponent | Exponent p in 1/r^p coupling (clamped to [1.5, 4] when applied). |
| isJammerEnabled | When , geometry is stored but this slot is skipped in (same as a present-but-off jammer). |