HTML5 Canvas Library
 

mapActor Library Method

Short Description: Map other HTML element and paint

Signature: x.mapActor (el[,texturecanvas])
Group: Texture
Class: Material Class
 

Selects an image of the given element as texture for the current material. Implicitly paints the element to the given texturecanvas. texturecanvas may be 1 or 2, 1 is the default. el may be a DOM node or a string giving the id of the intended element.

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccglMaterial.mapElement - Map other HTML element
Previous Page: taccglMaterial.blend - Set transparency values/set up blend animation
Please Add a Comment or Question, click here!