Gah - a solution with more questions. – EntropicLqd

UE2:PlayerInput (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

bAdjustSampling

Type: bool


Default value: True

bEdgeBack

Type: bool


bEdgeForward

Type: bool


bEdgeLeft

Type: bool


bEdgeRight

Type: bool


bEnableDodging

Type: bool

Modifiers: globalconfig


Default value: True

bInvertMouse

Type: bool

Modifiers: globalconfig


bWasBack

Type: bool


bWasForward

Type: bool

used for doubleclick move

bWasLeft

Type: bool


bWasRight

Type: bool


DoubleClickTime

Type: float

Modifiers: globalconfig


Default value: 0.25

DoubleClickTimer

Type: float

max double click interval for double click move

MaybeTime

Type: float

Array size: 2


MouseAccelThreshold

Type: float

Modifiers: globalconfig


MouseSamples

Type: int

Array size: 2


MouseSamplingTime

Type: float

Modifiers: globalconfig


Default value: 0.008333

MouseSensitivity

Type: float

Modifiers: globalconfig


Default value: 3.0

MouseSmoothingMode

Type: byte

Modifiers: globalconfig


Default value: 1

MouseSmoothingStrength

Type: float

Modifiers: globalconfig


Default value: 0.3

OldSamples

Type: float

Array size: 4


SamplingTime

Type: float

Array size: 2


SmoothedMouse

Type: float

Array size: 2


ZeroTime

Type: float

Array size: 2


Functions

Exec functions

SetSmoothingMode

exec function SetSmoothingMode (byte B)


SetSmoothingStrength

exec function SetSmoothingStrength (float F)


Events

PlayerInput

event PlayerInput (float DeltaTime)


Other instance functions

AccelerateMouse

function float AccelerateMouse (float aMouse)


ChangeSnapView

function ChangeSnapView (bool B)


CheckForDoubleClickMove

function Actor.EDoubleClickDir CheckForDoubleClickMove (float DeltaTime)


InvertLook

function bool InvertLook ()


InvertMouse

function InvertMouse (optional string Invert)


SmoothMouse

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


UpdateAccel

function UpdateAccel (float F)


UpdateSensitivity

function UpdateSensitivity (float F)


UpdateSmoothing

function UpdateSmoothing (int Mode)