Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
Description
Specifies a new LiDAR observation. This observes how far a you can travel along a ray before collision. Rays that can travel the full distance are encoded as one, while rays that collide instantly are encoded as zero.
| Name | SpecifyLidarObservation |
| 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=1))
static FLearningAgentsObservationSchemaElement SpecifyLidarObservation
(
ULearningAgentsObservationSchema * Schema,
const FName Tag
)
The newly created observation schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Observation Schema |
| Tag | The tag of this new observation. Used during observation object validation and debugging. |