Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=2))
static FLearningAgentsActionSchemaElement SpecifyLocationAction
(
ULearningAgentsActionSchema * Schema,
const float LocationScale,
const FName Tag
)
Remarks
Specifies a new location action. This represents an action which is a location sampled from a Gaussian distribution. The newly created action schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Action Schema |
| LocationScale | The scale used for this action in cm. |
| Tag | The tag of this new action. Used during action object validation and debugging. |