dVTo Library Method
Short Description: Animate Depth Vector of Object
Signature: t.dVTo (x,y,z) or (p)
Group: Shape
Class: transition Class
Gives the end point of an animation animating the depth vector of a transition.
The parameters have the same meaning as with dV.
dVFrom can be used to set the starting 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).dVTo(0,0,500).start(); | RUN |
var a=taccgl.actor("s10",taccgl.dddBox).dVTo(200,0,500).start(); | RUN |
|