CTNTVirtualPad:setScale

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

Available since: Gideros 2019.4
Class: VirtualPad

Description

Sets the VPAD components scale. <syntaxhighlight lang="lua"> CTNTVirtualPad:setScale(padComponent, scale) </source>


padComponent possible values:

  • PAD.COMPO_LEFTPAD
  • PAD.COMPO_RIGHTPAD
  • PAD.COMPO_BUTTON1
  • PAD.COMPO_BUTTON2
  • PAD.COMPO_BUTTON3
  • PAD.COMPO_BUTTON4
  • PAD.COMPO_BUTTON5
  • PAD.COMPO_BUTTON6

Parameters

padComponent: (number) the pad component to scale
scale: (number) scale factor