Skip to content

Interaction

Class in Engine · Engine.Interaction · native, transient

Object › UIRoot › Interaction

Subclasses: Console, GFxInteraction, Input, PlayerManagerInteraction, UIInteraction

Using it from Lua
h7.find_all("Interaction")            -- live instances
h7.find_class("Engine.Interaction")   -- the class
h7.hook("Engine.Interaction.Init", fn)

Enums

ETouchType

Touch_Began = 0, Touch_Moved = 1, Touch_Stationary = 2, Touch_Ended = 3, Touch_Cancelled = 4

Functions

NameDeclaration
Initfinal native function Init()
Initializedfunction Initialized()
NotifyGameSessionEndedfunction NotifyGameSessionEnded()
NotifyPlayerAddedfunction NotifyPlayerAdded(int PlayerIndex, LocalPlayer AddedPlayer)
NotifyPlayerRemovedfunction NotifyPlayerRemoved(int PlayerIndex, LocalPlayer RemovedPlayer)
OnInitializedelegate OnInitialize()
OnReceivedNativeInputAxisdelegate bool OnReceivedNativeInputAxis(int ControllerId, name Key, float Delta, float DeltaTime, optional bool bGamepad)
OnReceivedNativeInputChardelegate bool OnReceivedNativeInputChar(int ControllerId, string Unicode)
OnReceivedNativeInputKeydelegate bool OnReceivedNativeInputKey(int ControllerId, name Key, EInputEvent EventType, optional float AmountDepressed = 1.f, optional bool bGamepad)
PostRenderevent PostRender(Canvas Canvas)
Tickevent Tick(float DeltaTime)

Default values

OnInitialize=Initialized

Inherited

FromMembers
UIRoot1 properties, 8 functions
Object13 properties, 308 functions