Navigation
API > API/Plugins > API/Plugins/LearningAgents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULearningAgentsAction
- UFloatAction
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
Syntax
UCLASS&40;&41;
class UFloatAction : public ULearningAgentsAction
Remarks
A simple float action. Used as a catch-all for situations where a more type-specific action does not exist yet.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Learning::FFloatFeature > | FeatureObject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UFloatAction * | AddFloatAction
(
ULearningAgentsInteractor* InInteractor, |
Adds a new float action to the given agent interactor. | |
| float | GetFloatAction
(
const int32 AgentId |
Gets the data for this action. | |
| void | SetFloatAction
(
const int32 AgentId, |
Sets the data for this action. |
Overridden from ULearningAgentsAction
| Type | Name | Description | |
|---|---|---|---|
| void | VisualLog
(
const UE::Learning::FIndexSet Instances |
Describes this action to the visual logger for debugging purposes. |