mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2025-12-20 09:16:01 +08:00
[glfw] Better default mix duration in example
This commit is contained in:
parent
1b7144d711
commit
f3e85bc31c
@ -95,7 +95,7 @@ int main() {
|
||||
// Create an AnimationState to drive animations on the skeleton. Set the "portal" animation
|
||||
// on track with index 0.
|
||||
AnimationStateData animationStateData(*skeletonData);
|
||||
animationStateData.setDefaultMix(1.0f);
|
||||
animationStateData.setDefaultMix(0.2f);
|
||||
AnimationState animationState(animationStateData);
|
||||
globalAnimationState = &animationState;
|
||||
animationState.setAnimation(0, "portal", true);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user