CTNTVirtualPad:setAlpha

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