SpineSprite:setAnimation

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
This page contains changes which are not marked for translation.


Available since: Gideros 2018.12
Class: SpineSprite

Description

Set animation

SpineSprite:setAnimation(track,animation,mix,loop)

Parameters

track: (integer) Track to use
animation: (string) Animation name
mix: (number) Mix duration
loop: (boolean) Wether the animation should loop