Resizing sprite

May 18, 2015 at 2:30 PM
It doesn't look like this is supported by default, but maybe someone has some insight. I have a sprite(image) added into my 3D view. I'd like to let the user resize it, ideally something similar to wpf adorners/thumb controls.

Is this something SpriteTextRenderer supports by default and I've just missed it? If not, does anyone have a recommended approach? I started with this post, but since a sprite isn't a wpf element, the adorner can't attach to it.

I'm happy to build my own approach, but if something already exists I'd like to use it.
May 18, 2015 at 2:37 PM

the SDX SpriteTextRenderer is a pure renderer. It does not support interaction by the user. Furthermore, it is targeted at DirectX 11 applications. I'm not sure if you are aware of this. Anyway, it should not be too difficult to write a logical wrapper, which allows to resize the sprite.