void Initialize | ( | IList< AIMEnvironment > | environments | ) |
Initializes the grid structure based on the currently known environments .
The actual size in memory is based on the fields CellCountX, CellCountY and CellCountZ. These sizes must be positive numbers and at least 1. On initialization, the whole grid memory is (re-)allocated, which might cause GC for old grid data if there was any.
environments | A list containing all known AIMEnvironment instances. |
NullReferenceException | If environments is null . |