Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsInteractor
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsInteractor.h |
| Include | #include "LearningAgentsInteractor.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsInteractor.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents", Meta=(AgentId="-1"))
void SetObservationVector
(
const TArray < float > & ObservationVector,
const int32 InObservationCompatibilityHash,
const int32 AgentId,
bool bIncrementIteration
)
Remarks
Sets the current buffered observation vector for the given agent.
Parameters
| Name | Description |
|---|---|
| ObservationVector | Observation Vector |
| InObservationCompatibilityHash | Compatibility Hash used to identify which schema this vector is compatible with. |
| AgentId | Agent Id to set the observation vector for. |
| bIncrementIteration | If to increment the iteration number used to keep track of associated actions and observations. |