Canvas Library
 

selTop Library Method

Short Description: Select Top Face

Signature: box.selTop ()
Class: taccglDddBox Class
 

Selects the top face. Subsequent blend, color, ... and map operations work on the selected face.

Examples

var a=taccgl.actor("pgMiddleColumnTable",taccgl.dddBox);
a.selRight().mapClipToElement("tl");
a.selLeft().mapClipToElement("tr");
a.selFront().mapClipToElement("tl");
a.selTop().mapClipToElement("bl");
a.selBottom().mapClipToElement("br");
a.selBack().mapClipToElement("tl");
a.rotateMiddle(0,1,0).rotatePart(0,Math.PI/5*4).start().cont().
rotateMiddle(0,0,1).dur(4).start().cont().rotateMiddle(0,1,0).dur(4).start().cont().rotateMiddle(1,0,0).dur(4).start();
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccglDddBox.selBottom - Select Bottom Face
Previous Page: taccglDddBox.selLeft - Select Left Face