| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Experimental/ModularGameplay/Source/ModularGameplay/Public/Components/ControllerComponent.h |
Include |
#include "Components/ControllerComponent.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UControllerComponent : public UGameFrameworkComponent
ControllerComponent is an actor component made for AController and receives controller events.
Name | Description | |
---|---|---|
|
UControllerComponent ( |
Name | Description | ||
---|---|---|---|
|
T * |
GetController() |
|
|
T * |
GetControllerChecked() |
|
|
T * |
GetGameInstance() |
|
|
T * |
GetPawn() |
Controller accessors Usable for any type of AController owner |
|
T * |
GetPawnOrViewTarget() |
|
|
T * |
GetPlayer() |
PlayerController accessors Only returns correct values for APlayerController owners |
|
T * |
GetPlayerState() |
|
|
GetPlayerViewPoint |
||
|
T * |
GetViewTarget() |
|
|
IsLocalController() |
||
|
PlayerTick ( |
PlayerTick is only called if the PlayerController has a PlayerInput object. |
|
|
ReceivedPlayer() |
PlayerController events These only happen if the controller is a PlayerControllerCalled after the PlayerController's viewport/net connection is associated with this player controller. |