skeleton:setDefaultMix()¶
Type:
functionSee also: skeleton, skeleton:setMix()
Overview¶
Sets the default mix duration (in milliseconds) for transitions between animations that don’t have a specific mix time configured.
Syntax¶
skeleton:setDefaultMix(mix)
Parameters¶
mix(required):number– The default mix duration in milliseconds.
Example¶
spineboy:setDefaultMix(300) -- 0.3 second default transitions