Message 1 of 3

Not applicable
07-23-2015
06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to apply different images (.png) as the transparency of my material, but I couldn`t make it work so far.
It seems that the API only allows the variation of the Transparency percentage, is that correct? There is no way to apply a Transparency map to it?
I looked into the API manual and there was this MaterialPropertyPathType.Transparency, but I don`t know how it works...
Material forTransp = GetPanelMaterial(doc, pnlMat);
forTransp.Transparency = (int)MaterialPropertyPathType.Transparency;
Thanks!
Solved! Go to Solution.