HTML5 Canvas 2D Library
 

selBack Library Method

Short Description: Select Back Face

Signature: box.selBack ()
Class: taccglDddBox Class
 

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

Examples

var a=taccgl.actor("testimg",taccgl.dddBox); a.depth(10);
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.selBack().mapActor("pgMiddleColumnTable");
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
Next Page:taccglDddBox.selLeft - Select Left Face
Previous Page: taccglDddBox.selRight - Select Right Face