Navigation
API > API/Plugins > API/Plugins/LearningAgents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULearningAgentsHelper
- UCollisionMonitorHelper
- UMeshComponentHelper
- UProjectionHelper
- URayCastHelper
- USplineComponentHelper
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsHelpers.h |
| Include | #include "LearningAgentsHelpers.h" |
Syntax
UCLASS&40;Abstract, BlueprintType&41;
class ULearningAgentsHelper : public UObject
Remarks
The base class for all helpers. Helpers are additional objects that can be used in getting or setting observations, actions, rewards, and completions.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TObjectPtr< ULearningAgentsManagerComponent > | ManagerComponent | Reference to the Manager Component this helper is associated with. | |
| FLinearColor | VisualLogColor | Color used to draw this helper in the visual log |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | OnAgentsAdded
(
const TArray< int32 >& AgentIds |
Called whenever agents are added to the associated ULearningAgentsManagerComponent object. | |
| void | OnAgentsRemoved
(
const TArray< int32 >& AgentIds |
Called whenever agents are removed from the associated ULearningAgentsManagerComponent object. | |
| void | OnAgentsReset
(
const TArray< int32 >& AgentIds |
Called whenever agents are reset on the associated ULearningAgentsManagerComponent object. |