HTML5+CSS on Canvas 3D WebGL (TM) Library
 

map Library Method

Short Description: Map portion of texture canvas

Signature: x.map (s,t,w,h)
Group: Texture
Class: Material Class
 

Selects a rectangular portion of the Texture Canvas as texture for the material. (s,t) specify the coordinates of the top left point of the portion. w is the with and h the height.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccglMaterial.map1 - Animate mapped portion of texture canvas
Previous Page: taccglMaterial.mapElement - Map other HTML element
Please Add a Comment or Question, click here!