HTML5 Canvas 3D WebGL (TM) js Library
 

mapActor Library Method

Short Description: Map other HTML element and paint

Signature: t.mapActor (el[,texturecanvas])
Group: Texture
Class: transition Class
 

Maps an image of the given element on the current transition. Implicitly paints the element to the given texturecanvas. texturecanvas may be 1 or 2. The texturecanvas selected with texCan is the default. el may be a DOM node or a string giving the id of the intended element.

Examples

var a=taccgl.actor("testimg").mapActor("logoimg").start();
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:transition.mapElement - Map other HTML element
Previous Page: transition.texCan - Select texture Canvas