Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=2))
static FLearningAgentsObservationSchemaElement SpecifyLocationAlongSplineObservation
(
ULearningAgentsObservationSchema * Schema,
const float LocationScale,
const FName Tag
)
Remarks
Specifies a new location along spline observation. This observes the location of the spline at the given distance along that spline. The newly created observation schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Observation Schema |
| LocationScale | The scale used to normalize this observation in cm. |
| Tag | The tag of this new observation. Used during observation object validation and debugging. |