Skip to content

MobileMenuObject

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

FieldType
bCustomCoordsbool
Ufloat
Vfloat
ULfloat
VLfloat

Properties

NameTypeNotes
AuthoredGlobalScalefloat
bApplyGlobalScaleHeightbool
bApplyGlobalScaleLeftbool
bApplyGlobalScaleTopbool
bApplyGlobalScaleWidthbool
bHasBeenInitializedbooltransient
bHeightRelativeToWidthbool
bIsActivebool
bIsHiddenbool
bIsHighlightedbool
bIsTouchedbool
BottomLeewayfloat
bRelativeHeightbool
bRelativeLeftbool
bRelativeTopbool
bRelativeWidthbool
bTellSceneBeforeRenderingbool
bXOffsetIsActualbool
bYOffsetIsActualbool
Heightfloat
InitialHeightfloat
InitialLeftfloat
InitialTopfloat
InitialWidthfloat
InputOwnerMobilePlayerInput
Leftfloat
LeftLeewayfloat
Opacityfloat
OwnerSceneMobileMenuScene
RelativeToMobileMenuObject
RelativeToTagString
RightLeewayfloat
Tagstring
Topfloat
TopLeewayfloat
Widthfloat
XOffsetfloat
YOffsetfloat

Functions

NameDeclaration
GetIconIndexesfunction GetIconIndexes(out array IconIndexes)
GetRealPositionevent GetRealPosition(out float PosX, out float PosY)
InitMenuObjectfunction InitMenuObject(MobilePlayerInput PlayerInput, MobileMenuScene Scene, int ScreenWidth, int ScreenHeight, bool bIsFirstInitialization)
OnTouchevent bool OnTouch(ETouchType EventType, float TouchX, float TouchY, MobileMenuObject ObjectOver, float DeltaTime)
RenderObjectfunction RenderObject(canvas Canvas, float DeltaTime)
SetCanvasPosfunction SetCanvasPos(Canvas Canvas, optional float OffsetX = 0, optional float OffsetY = 0)

Default values

Opacity=1.0
AuthoredGlobalScale=2.0
bTellSceneBeforeRendering=false

Inherited

FromMembers
Object13 properties, 308 functions