Hey everyone, my first post and I have quite an annoying problem!
I looked at the example’s for the 4.6 UI, particularly the scroll/masking. It works well in the example but for me…not so much.
In my scene, I have it set up identical to the example (unless I’m missing something) and when I apply the mask to the scroll content panel, all children disappear, whether or not the children are “in view” of the mask. (Hopefully that makes sense)
I’ve tried just about everything to get it to work and I’m sure I’m overlooking something simple. How can I make the mask not just make all the children disappear?
Nevermind, figured it out - had to do with the alpha channel in the image settings! If you set the alpha to 2 or 3, it works while having an invisible (basically) background. Setting it to 0 masks everything. Hope this helps someone else!
It’s not an optimisation at all; it’s actually MORE work to apply a per-pixel mask. It just allows you to make neat windows into larger lists or maps. Offscreen tiles should already be culled by the frustum clipping.