vEnd Library Method
Short Description: Set final velority
Signature: t.vEnd (x,y,z)
Class: transition Class
Implicitely sets the acceleration used for a motion with constant acceleration
by specifying the final velocity of the object at the end of the
transition. The acceleration is calculated so that the object
has the specified final velocity and that it reaches the specified end point of
the motion in specified the duration.
Please refer to taccgl Transitions for an explanation of
motion with constant acceleration.
Default acceleration is zero.
Note that either starting or end point or both have to be set (e.g.
using from or to). Also note
that the acceleration may be set just once using one of the functions
acceleration, scalarAcceleration, vBegin
| var a=taccgl.actor("pgMiddleColumnTable"); a.from(a.x0,a.y0-400,0).vEnd(0,0,0).start(); ||RUN|
| var a=taccgl.actor("pgMiddleColumnTable"); a.from(a.x0,a.y0-400,0).vEnd(-1000,0,0).start(); ||RUN|
WebGL™ is a trademark of the Khronos Group Inc.