HTML5 Canvas Library
 

selBottom Library Method

Short Description: Select Bottom Face

Signature: box.selBottom ()
Class: taccglDddBox Class
 

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

Examples

var a=taccgl.actor("pgMiddleColumnTable",taccgl.dddBox); a.resize(a.w/2,a.h/2).depth(a.h/2);
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:taccglMulti Class
Previous Page: taccglDddBox.selTop - Select Top Face
Please Add a Comment or Question, click here!