Syntax
class APlayerController : public AController
Remarks
PlayerControllers are used by human players to control Pawns.
ControlRotation (accessed via GetControlRotation() ), determines the aiming orientation of the controlled Pawn.
In networked games, PlayerControllers exist on the server for every player-controlled pawn, and also on the controlling client's
machine. They do NOT exist on a client's machine for pawns controlled by remote players elsewhere on the network.
PlayerControllers 被人类玩家用来控制 Pawns。
ControlRotation(通过 GetControlRotation() 访问),决定了被控制的 Pawn 的瞄准方向。
在联网游戏中,Server上为每一个玩家控制的 Pawn 预留了一个 PlayerController ,同时在相应的客户端的机器上也有预留。被
网络其他地方的远程玩家控制的 Pawn 是没有在客户端保留 PlayerController。
Variables
APawn * AcknowledgedPawn | ||
TArray < FActiveForceFeedbackEffect > ActiveForceFeedbackEffects | ||
TSharedPtr < struct FActiveHapticFeedbackEffect > ActiveHapticEffect_Gun | ||
TSharedPtr < struct FActiveHapticFeedbackEffect > ActiveHapticEffect_Left | ||
TSharedPtr < struct FActiveHapticFeedbackEffect > ActiveHapticEffect_Right | ||
TWeakObjectPtr < USceneComponent > AudioListenerAttenuationComponent | ||
AudioListenerAttenuationOverride | ||
AudioListenerRotationOverride | ||
bool | ||
bCinemaDisableInputLook : 1 | ||
bCinemaDisableInputMove : 1 | ||
bCinematicMode : 1 | ||
bEnableClickEvents : 1 | ||
bEnableMouseOverEvents : 1 | ||
bEnableTouchEvents : 1 | ||
bEnableTouchOverEvents : 1 | ||
bForceFeedbackEnabled : 1 | ||
bHidePawnInCinematicMode : 1 | ||
bIsUsingStreamingVolumes : 1 | ||
BlendedTargetViewRotation | ||
bOverrideAudioAttenuationListener : 1 | ||
: 1 | ||
: 1 | ||
: 1 | ||
: 1 | ||
: 1 | ||