Difference between revisions of "CTNTVirtualPad:setDefaultJoySprites"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
Line 9: | Line 9: | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
setDefaultJoySprites(textureA, textureB) | setDefaultJoySprites(textureA, textureB) | ||
− | </ | + | </syntaxhighlight> |
'''WARNING''': this is a '''function''' of the Virtual Pad plugin, '''you do not pass''' the object (CTNTVirtualPad:setDefaultJoySprites(...)) | '''WARNING''': this is a '''function''' of the Virtual Pad plugin, '''you do not pass''' the object (CTNTVirtualPad:setDefaultJoySprites(...)) |
Latest revision as of 14:27, 13 July 2023
Available since: Gideros 2019.4
Class: VirtualPad
Description
Sets the VPAD joysticks default sprites.
SpriteA is for the joystick "stick" sprite while SpriteB is for the joystick "base" sprite.
setDefaultJoySprites(textureA, textureB)
WARNING: this is a function of the Virtual Pad plugin, you do not pass the object (CTNTVirtualPad:setDefaultJoySprites(...))
Parameters
textureA: (TextureBase) the joystick "stick" texture
textureB: (TextureBase) the joystick "base" texture
- CTNTVirtualPad:free
- CTNTVirtualPad:setAlpha
- CTNTVirtualPad:setColor
- CTNTVirtualPad:setDefaultButtonSprites
- CTNTVirtualPad:setDefaultJoySprites
- CTNTVirtualPad:setHideDelay
- CTNTVirtualPad:setHideMode
- CTNTVirtualPad:setJoyAsAnalog
- CTNTVirtualPad:setJoyStyle
- CTNTVirtualPad:setMaxRadius
- CTNTVirtualPad:setPosition
- CTNTVirtualPad:setScale
- CTNTVirtualPad:setTextures
- CTNTVirtualPad:start
- CTNTVirtualPad:stop