CTNTVirtualPad:setHideMode

From GiderosMobile
Revision as of 11:36, 3 December 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2019.4<br/> '''Class:''' VirtualPad<br/> === Description === Sets the VPAD hide mode. <source lang="lua"> CTNTVirtualPad:setHideM...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2019.4
Class: VirtualPad

Description

Sets the VPAD hide mode.

CTNTVirtualPad:setHideMode(hideMode)

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