3ds material alpha settings

Software: Away3D 4.x

Avatar
maddog, Sr. Member
Posted: 13 October 2011 10:48 PM   Total Posts: 118

I used to be able to set a 3d models alpha by this code:

mesh.material = new BitmapMaterial((new modelTexture()).bitmapData{alpha:.8}); 

Is there another way to do this now. When I tried it it had no effect on model.

Thanks for any help.

   

Avatar
maddog, Sr. Member
Posted: 13 October 2011 10:54 PM   Total Posts: 118   [ # 1 ]

I used a tween to set alpha and it worked then.

TweenNano.to(mesh.material2{alpha:.8}); 

 

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X