map Library Method
Short Description: Map rectangular portion of texture canvas
Signature: x.map (s,t,w,h) or (l,r)
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.
See map for a complete description.
WebGL™ is a trademark of the Khronos Group Inc.
|