- 수정됨
Spine-SFML Get the size of the drawn texture
Is there an accurate way to get the size of the drawn texture?
Using sf::VertexArray::getBounds().widht/height changes the output value as the animation goes on.
The AABB changes as the skeleton moves around. If that isn't what you want, I'm not sure what you are asking?
You can compute it:
https://github.com/EsotericSoftware/spi ... r.cpp#L268
Or if sf::VertexArray gives it to you, that is probably better.