ofAnimation
Constructs and returns a PropertyValuesHolder for a targeted ModelAnimation. This method applies by default this to the returned ObjectAnimator :
- The duration value to the getDuration in order to match the original animation speed.
- The interpolator to LinearInterpolator in order to match the natural animation interpolation.
Return
The constructed PropertyValuesHolder object.
Parameters
animation
The animation of interest