MobileInputZone¶
Class in GameFramework · GameFramework.MobileInputZone · perobjectconfig, editinlinenew, config, native
Object › MobileInputZone
Using it from Lua
Enums¶
EZoneSlideType
ZoneSlide_UpDown = 0, ZoneSlide_LeftRight = 1
EZoneState
ZoneState_Inactive = 0, ZoneState_Activating = 1, ZoneState_Active = 2, ZoneState_Deactivating = 3
EZoneType
ZoneType_Button = 0, ZoneType_Joystick = 1, ZoneType_Trackball = 2, ZoneType_Slider = 3, ZoneType_SubClassed = 4
Structs¶
TextureUVs
| Field | Type |
|---|---|
U | float |
V | float |
UL | float |
VL | float |
Defaults
UL=64.0f
VL=64.0fProperties¶
| Name | Type | Notes |
|---|---|---|
Acceleration | float | config |
ActivateTime | float | config |
ActiveSizeX | float | config |
ActiveSizeY | float | config |
AnimatingFadeOpacity | float | |
AuthoredGlobalScale | float | config |
bActiveSizeYFromX | bool | config |
bAllowFirstDeltaForTrackballZone | bool | config |
bApplyGlobalScaleToActiveSizes | bool | config |
bCenterOnEvent | bool | config |
bCenterX | bool | config |
bCenterY | bool | config |
bFloatingTiltZone | bool | config |
bIsDoubleTapAndHold | bool | |
bIsInvisible | bool | config |
Border | float | config |
bQuickDoubleTap | bool | config |
bRelativeSizeX | bool | config |
bRelativeSizeY | bool | config |
bRelativeX | bool | config |
bRelativeY | bool | config |
bRenderGuides | bool | config |
bScalePawnMovement | bool | config |
bSizeYFromSizeX | bool | config |
bSliderHasTrack | bool | config |
bUseGentleTransitions | bool | config |
Caption | string | config |
CaptionXAdjustment | float | config |
CaptionYAdjustment | float | config |
CurrentCenter | Vector2D | |
CurrentLocation | Vector2D | |
DeactivateTime | float | config |
DoubleTapInputKey | name | config |
EscapeVelocity | Vector2D | |
EscapeVelocityStrength | float | config |
HorizMultiplier | float | config |
HorizontalInputKey | name | config |
InactiveAlpha | float | config |
InitialActiveSizeX | float | const |
InitialActiveSizeY | float | const |
InitialCenter | Vector2D | |
InitialLocation | Vector2D | |
InitialSizeX | float | const |
InitialSizeY | float | const |
InitialX | float | const |
InitialY | float | const |
InputKey | name | config |
InputOwner | MobilePlayerInput | |
LastAxisValues | Vector2D | |
LastTouchTime | float | |
LastWentActiveTime | float | |
MobileSeqEventHandlers | array<SeqEvent_MobileZoneBase> | |
OverrideTexture1 | Texture2D | |
OverrideTexture1Name | string | config |
OverrideTexture2 | Texture2D | |
OverrideTexture2Name | string | config |
OverrideUVs1 | TextureUVs | config |
OverrideUVs2 | TextureUVs | config |
PreviousLocationCount | int | |
PreviousLocations | Vector2D[6] | |
PreviousMoveDeltaTimes | float[6] | |
RenderColor | color | config |
ResetCenterAfterInactivityTime | float | config |
SizeX | float | config |
SizeY | float | config |
SlideType | EZoneSlideType | config |
Smoothing | float | config |
State | EZoneState | |
TapDistanceConstraint | float | config |
TapInputKey | name | config |
TimeSinceLastTapRepeat | float | |
TotalActiveTime | float | |
TouchpadIndex | byte | |
TransitionTime | float | |
Type | EZoneType | config |
VertMultiplier | float | config |
X | float | config |
Y | float | config |
Functions¶
| Name | Declaration |
|---|---|
ActivateZone | native function ActivateZone() |
AddKismetEventHandler | function AddKismetEventHandler(SeqEvent_MobileZoneBase NewHandler) |
DeactivateZone | native function DeactivateZone() |
OnDoubleTapDelegate | delegate bool OnDoubleTapDelegate(MobileInputZone Zone, ETouchType EventType, Vector2D TouchLocation) |
OnPostDrawZone | delegate OnPostDrawZone(MobileInputZone Zone, Canvas Canvas) |
OnPreDrawZone | delegate bool OnPreDrawZone(MobileInputZone Zone, Canvas Canvas) |
OnProcessInputDelegate | delegate bool OnProcessInputDelegate(MobileInputZone Zone, float DeltaTime, int Handle, ETouchType EventType, Vector2D TouchLocation) |
OnProcessSlide | delegate bool OnProcessSlide(MobileInputZone Zone, ETouchType EventType, int SlideValue, Vector2D ViewportSize) |
OnTapDelegate | delegate bool OnTapDelegate(MobileInputZone Zone, ETouchType EventType, Vector2D TouchLocation) |
Inherited¶
| From | Members |
|---|---|
| Object | 13 properties, 308 functions |