Author Topic: Child widget depth value  (Read 2811 times)

johns

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 1
  • Posts: 16
    • View Profile
Child widget depth value
« on: May 18, 2014, 11:26:57 PM »
Hi,

I'm optimizing my UI to reduce the drawcalls. When changing the depth value of a widget, is it possible to update all of its child widgets accordingly? I.e. if decreasing a depth value of a widget it would be great to have all of its childs decrease accordingly.

Also, what does the "normalize depth hierarchy" do? I wasn't able to find any documentation on this feature.

Thanks!

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: Child widget depth value
« Reply #1 on: May 19, 2014, 12:33:05 PM »
See NGUITools.AdjustDepth