Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APawn > API/Runtime/Engine/GameFramework/APawn/GetController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/Pawn.h |
| Include | #include "GameFramework/Pawn.h" |
template<class T>
T * GetController() const
Remarks
Returns controller for this actor cast to the template type. May return NULL is the cast fails.