Skip to content

MobilePlayerInput

Class in GameFramework · GameFramework.MobilePlayerInput · native, config

Object › UIRoot › Interaction › Input › PlayerInput › MobilePlayerInput

Within: GamePlayerController

Subclasses: MobileDebugCameraInput

Using it from Lua
h7.find_all("MobilePlayerInput")            -- live instances
h7.find_class("GameFramework.MobilePlayerInput")   -- the class
h7.hook("GameFramework.MobilePlayerInput.ActivateInputGroup", fn)

Constants

NameValue
NumTouchDataEntries5

Enums

EUIOrientation

UI_Unknown = 0, UI_Portait = 1, UI_PortaitUpsideDown = 2, UI_LandscapeRight = 3, UI_LandscapeLeft = 4

Structs

MobileInputGroup

FieldType
GroupNamestring
AssociatedZonesarray<MobileInputZone>

MobileInputZoneClassMap

FieldType
Namestring
ClassTypeclass<MobileInputZone>

TouchData

FieldType
Handleint
TouchpadIndexbyte
Locationvector2D
TotalMoveDistancefloat
InitialDeviceTimedouble
TouchDurationfloat
MoveEventDeviceTimedouble
MoveDeltaTimefloat
bInUsebool
ZoneMobileInputZone
StateETouchType
Eventsarray<TouchDataEvent>
LastActiveTimefloat

TouchDataEvent

FieldType
EventTypeETouchType
TouchpadIndexbyte
Locationvector2D
DeviceTimedouble

Properties

NameTypeNotes
bAbsoluteTouchLocationsboolconfig
bAllowTouchesInCinematicbool
bCollapseTouchInputboolconfig
bDisableSceneRenderbool
bDisableTouchInputbool
bFakeMobileTouchesbool
CurrentMobileGroupint
CurrentRenderMenuMobileMenuScene
InteractiveObjectMobileMenuObject
InteractiveObjectLastTimedouble
MobileDoubleTapTimefloatconfig
MobileInactiveTimefloat
MobileInputGroupsarray<MobileInputGroup>
MobileInputZoneClassesarray<MobileInputZoneClassMap>
MobileInputZonesarray<MobileInputZone>
MobileMenuStackarray<MobileMenuScene>
MobileMinHoldForTapfloatconfig
MobilePitchfloat
MobilePitchCenterfloat
MobilePitchDeadzoneSizefloatconfig
MobilePitchMultiplierfloat
MobileRawInputSeqEventHandlersarray<SeqEvent_MobileRawInput>
MobileSeqEventHandlersarray<SeqEvent_MobileBase>
MobileTapRepeatTimefloatconfig
MobileViewportOffsetvector2D
MobileViewportSizevector2D
MobileYawfloat
MobileYawCenterfloat
MobileYawDeadzoneSizefloatconfig
MobileYawMultiplierfloat
NativeDebugStringstring
TouchesTouchData[NumTouchDataEntries]
ZoneTimeoutfloatconfig

Functions

NameDeclaration
ActivateInputGroupexec function ActivateInputGroup(string GroupName)
AddKismetEventHandlerfunction AddKismetEventHandler(SeqEvent_MobileBase NewHandler)
AddKismetRawInputEventHandlerfunction AddKismetRawInputEventHandler(SeqEvent_MobileRawInput NewHandler)
CancelMobileInputnative function CancelMobileInput()
ClientInitInputSystemfunction ClientInitInputSystem()
CloseAllMenusevent CloseAllMenus()
CloseMenuSceneevent CloseMenuScene(MobileMenuScene SceneToClose)
ConditionalUpdateInputZonesnative function ConditionalUpdateInputZones(int NewViewportX, int NewViewportY, int NewViewportSizeX, int NewViewportSizeY)
FindorAddZonefunction MobileInputZone FindorAddZone(string ZoneName)
FindZonefunction MobileInputzone FindZone(string ZoneName)
GetCurrentZonesfunction array<MobileInputZone> GetCurrentZones()
HasZonesfunction bool HasZones()
InitializeInputZonesfunction InitializeInputZones()
InitInputSystemfunction InitInputSystem()
InitTouchSystemfunction InitTouchSystem()
MobileMenuCommandexec function MobileMenuCommand(string MenuCommand)
NativeInitializeInputSystemnative function NativeInitializeInputSystem()
NativeInitializeInputZonesnative function NativeInitializeInputZones(bool bIsFirstInitialize)
OnInputTouchdelegate OnInputTouch(int Handle, ETouchType Type, Vector2D TouchLocation, float DeviceTimestamp, int TouchpadIndex)
OnPreviewTouchdelegate bool OnPreviewTouch(float X, float Y, int TouchpadIndex)
OnTouchNotHandledInMenudelegate OnTouchNotHandledInMenu()
OpenMenuSceneevent MobileMenuScene OpenMenuScene(class<MobileMenuScene> SceneClass, optional string Mode)
OpenMobileMenuexec function MobileMenuScene OpenMobileMenu(string MenuClassName)
OpenMobileMenuModeexec function MobileMenuScene OpenMobileMenuMode(string MenuClassName, string Mode)
PlayerInputevent PlayerInput(float DeltaTime)
PreClientTravelfunction PreClientTravel(string PendingURL, ETravelType TravelType, bool bIsSeamlessTravel)
ProcessMobileInputnative function ProcessMobileInput(float DeltaTime)
ProcessWorldTouchnative function bool ProcessWorldTouch(MobileInputZone Zone, ETouchType EventType, Vector2D TouchLocation)
event RefreshKismetLinks()
RenderMenusevent RenderMenus(Canvas Canvas, float RenderDelta)
SceneRenderToggleexec function SceneRenderToggle()
SendInputAxisnative function SendInputAxis(name Key, FLOAT Delta, FLOAT DeltaTime)
SendInputKeynative function SendInputKey(name Key, EInputEvent Event, float AmountDepressed)
SetMobileInputConfigexec function SetMobileInputConfig(string GroupName)
SwapZoneOwnersfunction SwapZoneOwners()

Inherited

FromMembers
PlayerInput58 properties, 19 functions
Input12 properties, 3 functions
Interaction0 properties, 11 functions
UIRoot1 properties, 8 functions
Object13 properties, 308 functions