Difference between revisions of "CTNTVirtualPad:setAlpha"

From GiderosMobile
(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">...")
(No difference)

Revision as of 10:14, 3 December 2020

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)