Navigation
API > API/Plugins > API/Plugins/Learning > API/Plugins/Learning/FArrayMap
References
| Module | Learning |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningArrayMap.h |
| Include | #include "LearningArrayMap.h" |
template<uint8 DimNum, typename ElementType>
TArrayMapHandle< DimNum, ElementType > Add
&40;
const FArrayMapKey Key,
const TLearningArrayShape< DimNum > Shape,
const ElementType Default
&41;
Remarks
Add a new array to the map A handle to later retrieve a view of the array for reading or writing
Parameters
| Name | Description |
|---|---|
| Key | The array key |
| Shape | The shape of the array |
| Default | The default value of the array |