HTML5 Canvas 3D WebGL (TM) javaScript Library
 

material Library Method

Short Description: Use Material for Transition

Signature: t.material (m)
Group: Texture
Class: transition Class
 

m must be an object of class taccglMaterial Class representing a material. The material defines color and other lighting parameters for all transitions that use a specific material.

If material is used, then the methods color, lightAmbDiff, lightBgAmbDiff, and specLight of the transition object should not be used but instead their counterparts color, lightAmbDiff, lightBgAmbDiff, and specLight of the material.

For examples please see documentation of the taccglMaterial Class its methods.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:transition.lightAmbDiff - Set ambient and diffuse color
Previous Page: Light and Shadow