SpineSprite:setMix

From GiderosMobile
Revision as of 15:33, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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