Get Opacity mask from material in C++?
Is there a way to get the opacity mask used by a material from C++? I'm rendering on UPanelCanvas and I need to hide all of the UImage objects that are underneath the zero opacity area.
So basically if I have a mask like the one illustrated above, everything within the white area shall be rendered and everything outside it, thus being in the black area shall not be rendered.
Am I missing something? Is there perhaps a better solution to it?
Thanks in advance.
P.S.: forum link
The material class has an opacity mask variable that you can access publicly. If you have a material pointer, you can use this to get the opacity mask as necessary:
answered Oct 25 '16 at 01:47 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here