Polarith AI
1.8

◆ SetAt()

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.

Parameters
indexSpecifies the element to be changed.
sensorThe new AIMSensor at the given index .
distanceThe new distance at the given index .
Exceptions
ArgumentOutOfRangeExceptionIf the given index is out of bounds.
Imprint