Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - duke22

Pages: [1]
1
Support / Get sprite region (in atlas)?
« on: June 09, 2014, 04:00:51 am »
I'm trying to grab the normalized (0-1) region within the atlas of a sprite so I can correctly map some custom geometry I have, but my sprite returns false for .extractRegion. Why is this? Is there a different way to get those atlas bounds?

edit: Also I obviously need to know the rotation (if its rotated).

Pages: [1]