APawn::GetController

Returns controller for this actor cast to the template type. May return NULL is the cast fails.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h

Include

#include "GameFramework/Pawn.h"

Syntax

template<class T>
T * GetController() const

Remarks

Returns controller for this actor cast to the template type. May return NULL is the cast fails.

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