HTML5+CSS on Canvas 3D WebGL (TM) Library
 

selLeft Library Method

Short Description: Select Left Face

Signature: box.selLeft ()
Class: taccglDddBox Class
 

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

Examples

var a=taccgl.actor("testimg",taccgl.dddBox); a.depth(5);
a.selRight().blend(0,0).color("Black");
a.selLeft().blend(0,0).color("Black");
a.selTop().blend(0,0).color("Black");
a.selBottom().blend(0,0).color("Black");
a.rotateMiddle(0,1,0).rotatePart(0,Math.PI/5).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.selTop - Select Top Face
Previous Page: taccglDddBox.selBack - Select Back Face
Please Add a Comment or Question, click here!