I am trying to add 3d objects to my UI scroll rect? But i am not having any luck masking them out. Is this possible?
Well in the reference there are pictures of it happening!
http://docs.unity3d.com/Manual/script-Mask.html
But this may be only a picture because in the text it says : “Image”. ![]()
EDIT:
I tried things out and unity only masks image components! Not the render.
http://fs5.directupload.net/images/150930/e8o8i95i.jpg
But you can render to texture with a 2nd camera. ( Only this camera can see the object. And then store this in an Image component, wich has the mask applied on! ![]()
Cheers
Hello!
I bring a simple solution here.
https://answers.unity.com/answers/1568533/edit.html
I hope it work for you ![]()