SpineSprite:setMix: Difference between revisions

From GiderosMobile
Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2018.12<br/> '''<translate>Class</translate>:''' SpineSprite<br/> ==..."
 
m Text replacement - "</source>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate>Define the mix durationn when transiting from animation 1 to animation 2</translate>
<translate>Define the mix durationn when transiting from animation 1 to animation 2</translate>
<source lang="lua">
<syntaxhighlight lang="lua">
SpineSprite:setMix(anim1,anim2,mix)
SpineSprite:setMix(anim1,anim2,mix)
</source>
</syntaxhighlight>
=== <translate>Parameters</translate> ===
=== <translate>Parameters</translate> ===
'''anim1''': (string) <translate>First animation</translate><br/>
'''anim1''': (string) <translate>First animation</translate><br/>
'''anim2''': (string) <translate>Second animation</translate><br/>
'''anim2''': (string) <translate>Second animation</translate><br/>
'''mix''': (number) <translate>Mix duration</translate><br/>
'''mix''': (number) <translate>Mix duration</translate><br/>

Latest revision as of 13:33, 13 July 2023


Available since: Gideros 2018.12
Class: SpineSprite

Description

Define the mix durationn when transiting from animation 1 to animation 2

SpineSprite:setMix(anim1,anim2,mix)

Parameters

anim1: (string) First animation
anim2: (string) Second animation
mix: (number) Mix duration