Welcome,
Guest
. Please
login
or
register
.
April 21, 2026, 09:19:00 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NGUI element size/bounds in Worldspace
« previous
next »
Print
Pages: [
1
]
Author
Topic: NGUI element size/bounds in Worldspace (Read 3137 times)
ngui
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 29
NGUI element size/bounds in Worldspace
«
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?
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: NGUI element size/bounds in Worldspace
«
Reply #1 on:
January 18, 2014, 02:28:13 AM »
UIWidget.localCorners, UIWidget.worldCorners, UIPanel.localCorners, UIPanel.worldCorners.
Logged
ngui
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 29
Re: NGUI element size/bounds in Worldspace
«
Reply #2 on:
January 18, 2014, 02:47:05 AM »
Thank you!
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
NGUI element size/bounds in Worldspace