Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
Description
Specifies a new location along spline observation. This observes the location of the spline at the given distance along that spline.
| Name | SpecifyLocationAlongSplineObservation |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include Path | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents",
Meta=(AdvancedDisplay=2, AutoCreateRefTerm="NormalizationSettings", NormalizationSettings="(Scales=(X=100,Y=100,Z=100))"))
static FLearningAgentsObservationSchemaElement SpecifyLocationAlongSplineObservation
(
ULearningAgentsObservationSchema * Schema,
const FLearningAgentsVectorObservationNormalizationSettings & NormalizationSettings,
const bool bActive,
const FName Tag
)
The newly created observation schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Observation Schema |
| LocationScale | The scale used to normalize this observation in cm. |
| bActive | Whether to enable the observation as a valid network input. If set to inactive, this observation will be considered an empty observation. This flag allows easy toggles of specified observation. |
| Tag | The tag of this new observation. Used during observation object validation and debugging. |
| NormalizationSettings | Optional normalization settings containing per-element Scales, Biases, and whether to apply normalization. |