I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:PlayerInput (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> PlayerInput
Package: 
Engine
Within class: 
PlayerController
This class in other games:
U2XMP, U2, UT2003, UT2004, 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


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


Default value: 100.0

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 ()


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)