Polarith AI
1.8
LodList Class Reference

Description

A container that stores LodElement instances, whereby a LodElement is an AIMSensor-distance pair.

These pairs are utilized by the AIMLodGroup component.

Properties

int Count [get]
 Returns the number of the currently contained sensor-distance pairs. More...
 
LodElement this[int i] [get]
 Returns the LodElement at the given index i . More...
 

Public Methods

void Add (AIMSensor sensor, float distance)
 Adds a LodElement holding the given sensor and distance instances. More...
 
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. More...
 
void RemoveAt (int index)
 Removes the LodElement at the given index if it is valid. More...
 
void Clear ()
 Clears all currently contained LodElement instances. More...
 
Imprint