Jump to content
GreenSock

ThrowPropsPlugin.calculateDuration()

ThrowPropsPlugin.calculateDuration( ) : Number

Returns : Number

The duration (in seconds) that it would take to move from the start value to the end value at the initial velocity provided, decelerating according to the ease.

Details

Calculates the duration (in seconds) that it would take to move from a particular start value to an end value at the given initial velocity, decelerating according to a certain easing equation (like Strong.easeOut).
Copyright 2017, GreenSock. All rights reserved. This work is subject to theterms of useor for Club GreenSock members, the software agreement that was issued with the membership.
×