Welcome,
Guest
. Please
login
or
register
.
May 31, 2026, 12:36:24 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Can UIPanel use a mask to clip panel?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Can UIPanel use a mask to clip panel? (Read 4149 times)
invincible0918
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
Can UIPanel use a mask to clip panel?
«
on:
May 06, 2013, 03:47:04 AM »
Now the UIPanel only has rectangle clip,but i wanna use a mask texture to clip , such as a ellipse shape, how could i did this ?
Logged
gotstyle
Guest
Re: Can UIPanel use a mask to clip panel?
«
Reply #1 on:
May 06, 2013, 10:04:48 AM »
I'm looking for the exact same thing
. It would be nice if we can use a custom alpha mask.
Logged
jeldrez
Sr. Member
Thank You
-Given: 8
-Receive: 4
Posts: 352
Re: Can UIPanel use a mask to clip panel?
«
Reply #2 on:
May 06, 2013, 11:58:30 AM »
This is the only way I have seen:
http://pixelplacement.com/2011/02/15/masking-in-unity/
Logged
MrTact
Newbie
Thank You
-Given: 0
-Receive: 2
Posts: 32
Re: Can UIPanel use a mask to clip panel?
«
Reply #3 on:
May 06, 2013, 03:33:16 PM »
To be clear, are you trying to mask its children? Not really clear on how that works.
If you just want an odd-shaped window, you can always just draw the irregular shape and leave the background of the sprite transparent.
Logged
invincible0918
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 6
Re: Can UIPanel use a mask to clip panel?
«
Reply #4 on:
May 07, 2013, 04:31:06 AM »
Yes,I'm trying to mask its children,but now I still can't find a good way to achieve it.
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Can UIPanel use a mask to clip panel?