Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: ngui on January 18, 2014, 02:20:38 AM

Title: NGUI element size/bounds in Worldspace
Post by: ngui on January 18, 2014, 02:20:38 AM
I find when I query the size/bounds/extents of a UIWidget or UIPanel (i.e., panel.GetViewSize()) its in ScreenSpace.
How can I derive the WorldSpace bounds?
Title: Re: NGUI element size/bounds in Worldspace
Post by: ArenMook on January 18, 2014, 02:28:13 AM
UIWidget.localCorners, UIWidget.worldCorners, UIPanel.localCorners, UIPanel.worldCorners.
Title: Re: NGUI element size/bounds in Worldspace
Post by: ngui on January 18, 2014, 02:47:05 AM
Thank you!