void SetAt | ( | int | index, |
AIMSensor | sensor, | ||
float | distance | ||
) |
Sets the sensor and the distance for the LodElement at the given index if it is valid.
index | Specifies the element to be changed. |
sensor | The new AIMSensor at the given index . |
distance | The new distance at the given index . |
ArgumentOutOfRangeException | If the given index is out of bounds. |