get animation name
@@ -117,6 +117,11 @@ class Renderer
117
117
);
118
118
}
119
119
120
get currentAnimationName()
121
{
122
return this.cycle? this.cycle.label : null;
123
}
124
120
125
setAnimation(label, defaultIndex = 0, cycleSpeed = -1)
121
126
{
122
127
if(this.cycle)
@@ -117,6 +117,11 @@ class Renderer117
);117
);118
}118
}119
119
120
get currentAnimationName()121
{122
return this.cycle? this.cycle.label : null;123
}124
120
setAnimation(label, defaultIndex = 0, cycleSpeed = -1) 125
setAnimation(label, defaultIndex = 0, cycleSpeed = -1) 121
{126
{122
if(this.cycle) 127
if(this.cycle)