Class in GameFramework · GameFramework.MobileMenuObject · native
Object › MobileMenuObject
Subclasses: MobileMenuBar, MobileMenuButton, MobileMenuImage, MobileMenuInventory, MobileMenuLabel, MobileMenuList, MobileMenuObjectProxy
Using it from Lua
h7.find_all("MobileMenuObject") -- live instances
h7.find_class("GameFramework.MobileMenuObject") -- the class
h7.hook("GameFramework.MobileMenuObject.GetIconIndexes", fn)
Structs
UVCoords
| Field | Type |
bCustomCoords | bool |
U | float |
V | float |
UL | float |
VL | float |
Properties
| Name | Type | Notes |
AuthoredGlobalScale | float | |
bApplyGlobalScaleHeight | bool | |
bApplyGlobalScaleLeft | bool | |
bApplyGlobalScaleTop | bool | |
bApplyGlobalScaleWidth | bool | |
bHasBeenInitialized | bool | transient |
bHeightRelativeToWidth | bool | |
bIsActive | bool | |
bIsHidden | bool | |
bIsHighlighted | bool | |
bIsTouched | bool | |
BottomLeeway | float | |
bRelativeHeight | bool | |
bRelativeLeft | bool | |
bRelativeTop | bool | |
bRelativeWidth | bool | |
bTellSceneBeforeRendering | bool | |
bXOffsetIsActual | bool | |
bYOffsetIsActual | bool | |
Height | float | |
InitialHeight | float | |
InitialLeft | float | |
InitialTop | float | |
InitialWidth | float | |
InputOwner | MobilePlayerInput | |
Left | float | |
LeftLeeway | float | |
Opacity | float | |
OwnerScene | MobileMenuScene | |
RelativeTo | MobileMenuObject | |
RelativeToTag | String | |
RightLeeway | float | |
Tag | string | |
Top | float | |
TopLeeway | float | |
Width | float | |
XOffset | float | |
YOffset | float | |
Functions
| Name | Declaration |
GetIconIndexes | function GetIconIndexes(out array IconIndexes) |
GetRealPosition | event GetRealPosition(out float PosX, out float PosY) |
function InitMenuObject(MobilePlayerInput PlayerInput, MobileMenuScene Scene, int ScreenWidth, int ScreenHeight, bool bIsFirstInitialization) |
OnTouch | event bool OnTouch(ETouchType EventType, float TouchX, float TouchY, MobileMenuObject ObjectOver, float DeltaTime) |
RenderObject | function RenderObject(canvas Canvas, float DeltaTime) |
SetCanvasPos | function SetCanvasPos(Canvas Canvas, optional float OffsetX = 0, optional float OffsetY = 0) |
Default values
Opacity=1.0
AuthoredGlobalScale=2.0
bTellSceneBeforeRendering=false
Inherited
| From | Members |
| Object | 13 properties, 308 functions |