Navigation
API > API/Plugins > API/Plugins/MLAdapter > API/Plugins/MLAdapter/Agents
References
| Module | MLAdapter |
| Header | /Engine/Plugins/AI/MLAdapter/Source/MLAdapter/Public/Agents/MLAdapterAgent.h |
| Include | #include "Agents/MLAdapterAgent.h" |
Syntax
USTRUCT ()
struct FMLAdapterAgentConfig
Remarks
A serializable config for an agent. Used in the external API to define agents.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FName, FMLAdapterParameterMap > | Actuators | ||
| FName | AgentClassName | ||
| FName | AvatarClassName | ||
| bool | bAutoRequestNewAvatarUponClearingPrev | ||
| bool | bAvatarClassExact | If set to true, won't accept child classes of the AvatarClass. | |
| TMap< FName, FMLAdapterParameterMap > | Sensors |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FMLAdapterParameterMap & | AddActuator
(
const FName ActuatorName, |
||
| FMLAdapterParameterMap & | AddSensor
(
const FName SensorName, |