Canvas Library
 

mapElement Library Method

Short Description: Map other HTML element

Signature: x.mapElement (el)
Group: Texture
Class: Material Class
 

Selects an image of the given element as texture for the current material. Works like mapActor but does not paint the element. el may be a DOM node or a string giving the id of the intended element.

Next Page:taccglMaterial.map - Map portion of texture canvas
Previous Page: taccglMaterial.mapActor - Map other HTML element and paint
Please Add a Comment or Question, click here!