HTML5 Canvas 3D WebGL (TM) js Library
 

mapFrom Library Method

Short Description: Animate mapped portion of texture canvas

Signature: x.mapFrom (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.mapT - Map portion of texture canvas
Previous Page: taccglMaterial.mapTo - Animate mapped portion of texture canvas