| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/AI/UE4ML/Source/UE4ML/Public/Agents/4MLAgentElement.h |
Include |
#include "Agents/4MLAgentElement.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)(Abstract)
class UE4U4MLAgentElement : public UObject
Name | Description | ||
---|---|---|---|
|
Description |
Can be queried by remote clients |
|
|
ElementID |
@note this is not a common counter, meaning Sensors and Actuators (for example) track the ID separately |
|
|
Nickname |
User-configured name for this element, mostly for debugging purposes but comes in handy when fetching observation/action spaces descriptions. |
|
|
TSharedRef< F4M... |
SpaceDef |
Name | Description | ||
---|---|---|---|
|
Configure |
||
|
TSharedPtr< ... |
ConstructSpaceDef() |
|
|
const U4MLAg... |
GetAgent() |
|
|
AActor * |
GetAvatar() |
|
|
AController ... |
GetControllerAvatar() |
|
|
GetDescription() |
||
|
GetElementID() |
||
|
const FStrin... |
GetNickname() |
|
|
GetPawnAndControllerAvatar ( |
Fetches both the pawn and the controller associated with the current agent. It's like both calling |
|
|
APawn * |
GetPawnAvatar() |
|
|
const F4ML::... |
GetSpaceDef() |
|
|
OnAvatarSet ( |
||
|
SetNickname ( |
||
|
Shutdown() |
Called before object's destruction. |
|
|
U4MLAgentElement ( |
||
|
UpdateSpaceDef() |
Name | Description | ||
---|---|---|---|
|
PostInitProperties() |
Called after the C++ constructor and after the properties have been initialized, including those loaded from config. |