Difference between revisions of "SpineSprite:setSkin"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2018.12<br/> '''<translate>Class</translate>:''' SpineSprite<br/> ==...")
 
Line 6: Line 6:
 
<translate>Set skin</translate>
 
<translate>Set skin</translate>
 
<source lang="lua">
 
<source lang="lua">
SpineSprite:setSkin(skin)
+
(boolean) = SpineSprite:setSkin(skin)
 
</source>
 
</source>
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''skin''': (string) <translate>Skin name</translate><br/>
 
'''skin''': (string) <translate>Skin name</translate><br/>
 +
 +
=== <translate>Return values</translate> ===
 +
'''<translate>Returns</translate>''' (boolean) <translate>True if the specified skin was found and set</translate><br/>

Revision as of 07:55, 5 December 2018


Available since: Gideros 2018.12
Class: SpineSprite

Description

Set skin

(boolean) = SpineSprite:setSkin(skin)

Parameters

skin: (string) Skin name

Return values

Returns (boolean) True if the specified skin was found and set