CTNTVirtualPad:setHideMode
From GiderosMobile
Available since: Gideros 2019.4
Class: VirtualPad
Description
Sets the VPAD hide mode. <syntaxhighlight lang="lua"> CTNTVirtualPad:setHideMode(hideMode) </source>
hideMode possible values:
- PAD.MODE_NOHIDE always visible on screen (setHideDelay is ignored)
- PAD.MODE_GHOST first rendered with alphaOn value (defined with setAlpha) then (after delay setHideDelay) rendered with alphaOff value
- PAD.MODE_HIDDEN first rendered with alphaOn value then after hideDelay totally hidden
Parameters
hideMode: (number) hide mode
- CTNTVirtualPad:free
- CTNTVirtualPad:setAlpha
- CTNTVirtualPad:setColor
- CTNTVirtualPad:setDefaultButtonSprites
- CTNTVirtualPad:setDefaultJoySprites
- CTNTVirtualPad:setHideDelay
- CTNTVirtualPad:setHideMode
- CTNTVirtualPad:setJoyAsAnalog
- CTNTVirtualPad:setJoyStyle
- CTNTVirtualPad:setMaxRadius
- CTNTVirtualPad:setPosition
- CTNTVirtualPad:setScale
- CTNTVirtualPad:setTextures
- CTNTVirtualPad:start
- CTNTVirtualPad:stop