I'm a doctor, not a mechanic

UE2:PlayerInput (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> PlayerInput
Package: 
Engine
Within class: 
PlayerController
Direct subclass:
XBoxPlayerInput
This class in other games:
U2XMP, U2, UE2Runtime, UT2003, UDK, UT3

PlayerInput Object within playercontroller that manages player input. only spawned on client

Properties[edit]

bAdjustSampling[edit]

Type: bool


Default value: True

bEdgeBack[edit]

Type: bool


bEdgeForward[edit]

Type: bool


bEdgeLeft[edit]

Type: bool


bEdgeRight[edit]

Type: bool


bEnableDodging[edit]

Type: bool

Modifiers: globalconfig


Default value: True

bInvertMouse[edit]

Type: bool

Modifiers: globalconfig


bWasBack[edit]

Type: bool


bWasForward[edit]

Type: bool

used for doubleclick move

bWasLeft[edit]

Type: bool


bWasRight[edit]

Type: bool


DoubleClickTime[edit]

Type: float

Modifiers: globalconfig


Default value: 0.25

DoubleClickTimer[edit]

Type: float

max double click interval for double click move

MaybeTime[edit]

Type: float

Array size: 2


MouseAccelThreshold[edit]

Type: float

Modifiers: globalconfig


MouseSamples[edit]

Type: int

Array size: 2


MouseSamplingTime[edit]

Type: float

Modifiers: globalconfig


Default value: 0.008333

MouseSensitivity[edit]

Type: float

Modifiers: globalconfig


Default value: 3.0

MouseSmoothingMode[edit]

Type: byte

Modifiers: globalconfig


Default value: 1

MouseSmoothingStrength[edit]

Type: float

Modifiers: globalconfig


Default value: 0.3

OldSamples[edit]

Type: float

Array size: 4


SamplingTime[edit]

Type: float

Array size: 2


SmoothedMouse[edit]

Type: float

Array size: 2


ZeroTime[edit]

Type: float

Array size: 2


Functions[edit]

Exec functions[edit]

SetSmoothingMode[edit]

exec function SetSmoothingMode (byte B)


SetSmoothingStrength[edit]

exec function SetSmoothingStrength (float F)


Events[edit]

PlayerInput[edit]

event PlayerInput (float DeltaTime)


Other instance functions[edit]

AccelerateMouse[edit]

function float AccelerateMouse (float aMouse)


ChangeSnapView[edit]

function ChangeSnapView (bool B)


CheckForDoubleClickMove[edit]

function Actor.EDoubleClickDir CheckForDoubleClickMove (float DeltaTime)


InvertLook[edit]

function bool InvertLook ()


InvertMouse[edit]

function InvertMouse (optional string Invert)


SmoothMouse[edit]

function float SmoothMouse (float aMouse, float DeltaTime, out byte SampleCount, int Index)


UpdateAccel[edit]

function UpdateAccel (float F)


UpdateSensitivity[edit]

function UpdateSensitivity (float F)


UpdateSmoothing[edit]

function UpdateSmoothing (int Mode)