Перейти к основному содержанию

UI.UIScaleElementProps

There are 12 types of UI elements given by Inner Core, and you can also create your custom ones. Each element type has it's own specific description object. These description objects are all inherited from this BasicElementDescription. It means that each element must have coords on the GUI by X, Y, and additionally Z axis, and also you can specify how the element will behave when touched, in clicker object (optional).

Hierarchy

Index

Properties

optionalbackground

background?: string

optionalbackgroundOffset

backgroundOffset?: { x?: number; y?: number }

Type declaration

  • optionalx?: number
  • optionaly?: number

optionalbitmap

bitmap?: string

optionalclicker

clicker?: UIClickEvent

optionaldirection

direction?: number

optionalheight

height?: number

optionalinvert

invert?: boolean

optionaloverlay

overlay?: string

optionaloverlayOffset

overlayOffset?: { x?: number; y?: number }

Type declaration

  • optionalx?: number
  • optionaly?: number

optionalpixelate

pixelate?: boolean

optionalscale

scale?: number

optionalvalue

value?: number

optionalwidth

width?: number

optionalx

x?: number

optionaly

y?: number

optionalz

z?: number