I’m sorry that English is not my native language, so the expression may not be so accurate.
I’m creating a Game GUI by Babylon.js.But button texture mixed with other controls textures.
Yes, this texture from a minecraft resource pack
I use sourceTop
, sourceWidth
and sourceHeight
to make the button display correctly. But when I using STRETCH_NINE_PATCH
mode, sourceXXX
not working.
Playground:
Use sourceXXX and STRETCH_NINE_PATCH
| Babylon.js Playground (babylonjs.com)