HTML5 Canvas 3D Animation Library
 

mapScale Library Method

Short Description: Scales the mapped texture

Signature: x.mapScale (f)
Group: Texture
Class: Material Class
 

Resizes the mapped texture of the material by the factor f.

mapScale is often used together with map and paint to paint an element much bigger than ordinary. This useful to increase quality in case the element is enlarged by WebGL.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Eye Class
Previous Page: taccglMaterial.mapClip - Clip mapped texture
Please Add a Comment or Question, click here!