WebGL (TM) Framework

multiFace Library Method

Short Description: Creates MultiFace Transition

Signature: taccgl.multiFace (el)
Class: taccgl Class

This method can be specified as kind parameter kind when creating a new transition (see Transition Kind) to animate a 3D object having multiple faces. The created transition object a then belongs to the taccglMultiFace Class.


var a=taccgl.actor("pgMiddleColumnTable").showAfter().start();
var a=taccgl.actor("LeftcolumnDown",taccgl.multiFace); a.depth(a.w);
a.newFace(0,0,0, 1,0,0, 0,1,0, 1,1,0);
a.newFace(1,0,0, 1,0,1, 1,1,0, 1,1,1);
a.newFace(0,0,0, 0,0,1, 0,1,0, 0,1,1); a.blend(0,0); a.color("brown");

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:taccgl.dddBox - Creates dddBox Transition
Previous Page: taccgl.flexiBorder - Creates FlexiBorder Transition