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" |
||
| 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> | ||
< | <syntaxhighlight lang="lua"> | ||
SpineSprite:setMix(anim1,anim2,mix) | SpineSprite:setMix(anim1,anim2,mix) | ||
</source> | </source> | ||
Revision as of 13:31, 13 July 2023
Available since: Gideros 2018.12
Class: SpineSprite
Description
Define the mix durationn when transiting from animation 1 to animation 2 <syntaxhighlight lang="lua"> SpineSprite:setMix(anim1,anim2,mix) </source>
Parameters
anim1: (string) First animation
anim2: (string) Second animation
mix: (number) Mix duration