HTML5 Canvas 3D WebGL (TM) js Library
 

selRight Library Method

Short Description: Select Right Face

Signature: box.selRight ()
Class: taccglDddBox Class
 

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

Examples

var a=taccgl.actor("testimg",taccgl.dddBox); a.depth(20);
a.selRight().blend(0,0).color("Brown");
a.selLeft().blend(0,0).color("Brown");
a.selTop().blend(0,0).color("Brown");
a.selBottom().blend(0,0).color("Brown");
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.selBack - Select Back Face
Previous Page: taccglDddBox.selFront - Select Front Face