timwzw BinaryCats a écritwhat do you mean size? duration? I mean Content Size, which has width and height of current animation.
BinaryCats oh. Yeah, I believe we opted not to do this, we just take the set up pose's bounds. The Java runtime has a function that the C runtimes don't for what you want (iirc)
timwzw Solved... Should add update(0.0) before getBoundingBox and you will get the right size. Here is the full function for this question: Size SkeletonRenderer::getSize() { update(0.0); Rect r = getBoundingBox(); return r.size; }