CTNTVirtualPad:setAlpha

From GiderosMobile
Revision as of 09:14, 3 December 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2019.4<br/> '''Class:''' VirtualPad<br/> === Description === Sets the alpha channel for all VPAD components. <source lang="lua">...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2019.4
Class: VirtualPad

Description

Sets the alpha channel for all VPAD components.

CTNTVirtualPad:setAlpha(alphaOn, alphaOff)

Parameters

alphaOn: (number) max alpha value when pad is visible on screen (value between 0 and 1)
alphaOff: (number) min alpha value when pad is in “ghost” mode (value between 0 and 1)