The easiest answer, as far as I know, is that "alpha" is a property of the material (both physically and virtually speaking...), not a property of the geometry. So, it makes sense that to define alpha you use a material, doesn't it? :)
On 18 abr, 06:59, Julien <[email protected]> wrote: > Hi all ! > What i would like to do is quite simple but i didn't found an easy way > to do it. > > I have an 3Dobject with a material on it and i would like to change > some of the faces alpha level. > > Right now, to do that, i have to do : > var mat:BitmapMaterial = new BitmapMaterial(params...); > mat.alpha = 0.5; > object.faces[12].material = mat; > > But this is long and not clean way. > Is there any solution to get something close to this : > object.faces[12].alpha = 0.5; > > I bet that there is an explanation why we can't do the above solution. > > Thank you for your time.
