Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/UTimeArrayObservation
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&40;BlueprintCallable, Category&61;"LearningAgents", Meta&61;&40;AgentId&61;"&45;1"&41;&41;
void SetTimeArrayObservation
&40;
const int32 AgentId,
const TArray< float > & Times,
const float RelativeTime
&41;
Remarks
Sets the data for this observation. Call during ULearningAgentsInteractor::SetObservations event.
Parameters
| Name | Description |
|---|---|
| AgentId | The agent id this data corresponds to. |
| Time | The times currently being observed. |
| RelativeTime | The time the provided time should be encoded relative to. |