UE4U4MLAgentElement::GetPawnAndControllerAvatar

Fetches both the pawn and the controller associated with the current agent. It's like both calling

Windows
MacOS
Linux

References

Module

UE4ML

Header

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

Include

#include "Agents/4MLAgentElement.h"

Syntax

bool GetPawnAndControllerAvatar
(
    APawn *& OutPawn,
    AController *& OutController
) const

Remarks

Fetches both the pawn and the controller associated with the current agent. It's like both calling

Returns

true if at least one of the fetched pair is non-null

See Also

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