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=1))
static FLearningAgentsObservationSchemaElement SpecifyProportionAlongSplineObservation
(
ULearningAgentsObservationSchema * Schema,
const FName Tag
)
Remarks
Specifies a new proportion along spline observation. This observes the proportion along a spline at the given distance. For looped splines this will be treated effectively like an angle between 0 and 360 degrees and encoded appropriately so that 0 and 350 are close to each other in the encoded space, while for non-looped splines this will be treated as a value between 0 and 1. The newly created observation schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Observation Schema |
| Tag | The tag of this new observation. Used during observation object validation and debugging. |