Author Topic: Preventing clipping for specified widget  (Read 3581 times)

jrhee

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 2
  • Posts: 13
    • View Profile
Preventing clipping for specified widget
« on: February 19, 2015, 03:44:44 PM »
Hello,

Is there any way to prevent a UIWidget that's under a parent panel with clipping turned on from being clipped? I have a widget that needs to be clipped, and a child widget that shouldn't be.

As of now I set the child widget to a different parent panel and sync the position using anchors, but was wondering if there was an easier way this could be done.

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Preventing clipping for specified widget
« Reply #1 on: February 19, 2015, 05:19:50 PM »
If you don't want something to be clipped, then it shouldn't be a part of that panel.

Otherwise you need to muck around with creating different atlases for things, the non-clipped atlas using some custom shader that doesn't have a clipping version.