HTML5 Canvas 2D Library
 

mapTo Library Method

Short Description: Animate mapped portion of texture canvas

Signature: x.mapTo (s,t,w,h) or (l,r)
Group: Texture
Class: Material Class
 

This method is used to animate the texture of the material. The parameters have the same meaning as with map. However mapTo defines the end of the animation, while mapFrom defines the begin of the animation.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccglMaterial.mapFrom - Animate mapped portion of texture canvas
Previous Page: taccglMaterial.map - Map rectangular portion of texture canvas