Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/APawn
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
AController * GetController () |
Returns controller for this actor. | GameFramework/Pawn.h |
|
T * GetController () |
Returns controller for this actor cast to the template type. May return NULL is the cast fails. | GameFramework/Pawn.h |
GetController()
Description
Returns controller for this actor.
| Name | GetController |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include Path | #include "GameFramework/Pawn.h" |
UFUNCTION (BlueprintCallable, Category=Pawn)
AController * GetController() const
GetController()
Description
Returns controller for this actor cast to the template type. May return NULL is the cast fails.
| Name | GetController |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include Path | #include "GameFramework/Pawn.h" |
template<class T>
T * GetController() const