UI.UICustomElementProps
Hierarchy
- UIElement
- UICustomElementProps
Index
Properties
optionalclicker
optionalcustom
Type declaration
optionalonBindingUpdated?: <T>(element: ICustomElement, name: string, val: T) => void
Type parameters
- T
Parameters
element: ICustomElement
name: string
val: T
Returns void
optionalonContainerInit?: (element: ICustomElement, container: UiAbstractContainer, elementName: string) => void
Parameters
element: ICustomElement
container: UiAbstractContainer
elementName: string
Returns void
optionalonDraw?: (element: ICustomElement, cvs: Canvas, scale: number) => void
Parameters
element: ICustomElement
cvs: Canvas
scale: number
Returns void
optionalonRelease?: (element: ICustomElement) => void
Parameters
element: ICustomElement
Returns void
optionalonReset?: (element: ICustomElement) => void
Parameters
element: ICustomElement
Returns void
optionalonSetup?: (element: ICustomElement) => void
Parameters
element: ICustomElement
Returns void
optionalonTouchReleased?: (element: ICustomElement) => void
Parameters
element: ICustomElement
Returns void
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).