Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
Description
Specifies a new float action. This represents an action which is a single float sampled from a Gaussian distribution. It can be used as a catch-all for situations where a type-specific action does not exist.
| Name | SpecifyFloatAction |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include Path | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents",
Meta=(AdvancedDisplay=2, AutoCreateRefTerm="NormalizationSettings"))
static FLearningAgentsActionSchemaElement SpecifyFloatAction
(
ULearningAgentsActionSchema * Schema,
const FLearningAgentsFloatActionNormalizationSettings & NormalizationSettings,
const bool bActive,
const FName Tag
)
The newly created action schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Action Schema |
| NormalizationSettings | The normalization used for this action. |
| bActive | Whether to enable the specified action as a valid network output. If set to inactive, this action will be considered an empty action. This flag allows easy toggles of specified actions. |
| Tag | The tag of this new action. Used during action object validation and debugging. |