Unreal Engine 4 API Analysis - APlayerController

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

 
 

FVector

AudioListenerAttenuationOverride

 
 

FRotator

AudioListenerRotationOverride

 
 

bool

bAutoManageActiveCameraTarget

 
 

uint32 

bCinemaDisableInputLook : 1

 
 

uint32 

bCinemaDisableInputMove : 1

 
 

uint32

bCinematicMode : 1

 
 

uint32

bEnableClickEvents : 1

 
 

uint32

bEnableMouseOverEvents : 1

 
 

uint32

bEnableTouchEvents : 1

 
 

uint32

bEnableTouchOverEvents : 1

 
 

uint32

bForceFeedbackEnabled : 1

 
 

uint32

bHidePawnInCinematicMode : 1

 
 

uint32

bIsUsingStreamingVolumes : 1

 
 

FRotator

BlendedTargetViewRotation

 
 

uint32

 bOverrideAudioAttenuationListener : 1

 
 

uint32

 : 1

 
 

uint32

 : 1

 
 

uint32

 : 1

 
 

uint32

 : 1

 
 

uint32

 : 1

 
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值