Difference between revisions of "CTNTVirtualPad:setHideMode"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2019.4<br/> '''Class:''' VirtualPad<br/> === Description === Sets the VPAD hide mode. <source lang="lua"> CTNTVirtualPad:setHideM...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets the VPAD hide mode.
 
Sets the VPAD hide mode.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
CTNTVirtualPad:setHideMode(hideMode)
 
CTNTVirtualPad:setHideMode(hideMode)
</source>
+
</syntaxhighlight>
  
 
'''hideMode''' possible values:
 
'''hideMode''' possible values:

Latest revision as of 14:26, 13 July 2023

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