CTNTVirtualPad:setHideMode

From GiderosMobile
Revision as of 15:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

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