UE4U4MLAgentElement::GetControllerAvatar

Windows
MacOS
Linux

References

Module

UE4ML

Header

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

Include

#include "Agents/4MLAgentElement.h"

Syntax

AController * GetControllerAvatar() const

Returns

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

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