WebGL (TM) Framework
 

dVFrom Library Method

Short Description: Animate Depth Vector of Object

Signature: t.dVFrom (x,y,z) or (p)
Group: Shape
Class: transition Class
 

Gives the starting point of an animation animating the depth vector of a transition. The parameters have the same meaning as with dV. dVTo can be used to set the end point.

Sample HTML element with id="s10"

The following examples animate a 3D box. By enlarging or reducing the vector, the depth of the animated object can be changed.

Examples

var a=taccgl.actor("s10",taccgl.dddBox) .start();
RUN
var a=taccgl.actor("s10",taccgl.dddBox).dVFrom(0,0,500).start();
RUN
var a=taccgl.actor("s10",taccgl.dddBox).dVFrom(200,0,500).start();
RUN

WebGL™ is a trademark of the Khronos Group Inc.

Next Page:Texture
Previous Page: transition.wVFrom - Animate Width Vector of Object