CTNTVirtualPad.new

From GiderosMobile
Revision as of 05:03, 3 December 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2019.4<br/> '''Class:''' VirtualPad<br/> === Description === Creates a new TNT Virtual Pad object. <source lang="lua"> CTNTVirtua...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2019.4
Class: VirtualPad

Description

Creates a new TNT Virtual Pad object.

CTNTVirtualPad.new(parent, texturePack, padSticks, padButtons, borderSpace, layerIndex, vBorderSpace, restrict)

Parameters

parent: (Sprite) the parent of the TNT Virtual Pad
texturePack: (TextureBase) the texture pack of the TNT Virtual Pad
padSticks: (number) width of pixel TO DO...AND BELOW AS WELL :-)
padButtons: (number) height of pixel optional
borderSpace: (number) hex value representing color optional
layerIndex: (number) alpha value from 0 to 1 optional
vBorderSpace: (number) width of pixel optional
restrict: (number) height of pixel optional