HTML5 Canvas 3D WebGL (TM) js 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.modFit - Align scene with HTML element
Please Add a Comment or Question, click here!