Author Topic: Skew Sprites  (Read 1763 times)

jingato

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Skew Sprites
« on: May 13, 2014, 04:17:29 PM »
Hi, I was wondering if you had any plans to add support to skew sprites and textures in future versions. This is one feature I'd really like to see. It would be create for creating a faux 3D UI without using a perspective camera and all the goodness that comes with an ortho camera. It could also just be used to easily reshape sprites.

Thanks

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Skew Sprites
« Reply #1 on: May 14, 2014, 06:17:55 AM »
Skew? No plans. You can achieve this by deriving from either UISprite or UITexture and overriding the OnFill function. You'll have full control over what vertices will be used.

jingato

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 15
    • View Profile
Re: Skew Sprites
« Reply #2 on: May 14, 2014, 10:13:29 AM »
Cool, Ill give it a try!