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...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2019.4<br/>
 
'''Available since:''' Gideros 2019.4<br/>
'''Class:''' [[VirtualPad]]<br/>
+
'''Class:''' [[TntVirtualPad]]<br/>
  
 
=== 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 22:22, 24 January 2026

Available since: Gideros 2019.4
Class: TntVirtualPad

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