Hi Spine team, I wanted to confirm my understanding of how renderToImage
works and if I'm using it correctly.
In my iOS project, I set up a SpineView
displaying a full-body avatar, and for one of our animation tracks, we set it up such that once it plays it repositions the avatar (using bones) in such a way that their head fills up the view, while the root bone is left alone as it's the root point.
But when I try to render this view into an image with renderToImage
, it seems to lose this repositioning – the image has the avatar is in full-view instead of being "cropped" so their head fills up the view like when playing it normally in the SpineView
.
Is this the intended behavior of renderToImage
? Or am I missing something? Just want to confirm before diving into my own investigation, and sorry for being vague. Happy to provide more info about our setup if needed.