HTML5+CSS on Canvas 3D WebGL (TM) Library
 

opacity3D Library Method

Short Description: Set opacity of 3D surfaces

Signature: x.opacity3D (f[,t])
Class: taccgl3DObject Class
 

Sets the opacity of the 3D Object. f must be a value in the range 0 ... 1, whereby 1 means fully opaque and 0 fully transparent. If t is given, the same rules apply. Then there will by an animation performed animating the opacity from f to t.

This value does not apply for surfaces that are UV Mapped or for the HTML material. For these surfaces the inherited Light and Shadow methods of the Transition Class apply.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:HTML Material
Previous Page: taccgl3DObject.getModMat - Get model translation matrix