UE4U4MLAgentElement::GetPawnAvatar

Windows
MacOS
Linux

References

Module

UE4ML

Header

/Engine/Plugins/AI/UE4ML/Source/UE4ML/Public/Agents/4MLAgentElement.h

Include

#include "Agents/4MLAgentElement.h"

Syntax

APawn * GetPawnAvatar() const

Returns

the pawn associated with the owning agent. If owning agent's avatar is a pawn then that gets retrieved, if not the function will check if it's a controller and if so retrieve its pawn

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss