SpineSprite:setMix

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")


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