CTNTVirtualPad:setDefaultJoySprites

From GiderosMobile
Revision as of 15:31, 3 December 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2019.4<br/> '''Class:''' VirtualPad<br/> === Description === Sets the VPAD joysticks default sprites. SpriteA is for the joystic...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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