animate
Constructs and returns an ObjectAnimator for all ModelAnimation of this object.
Don't forget to call start
Return
The constructed ObjectAnimator
Parameters
repeat/loop the animation
See also
Constructs and returns an ObjectAnimator for targeted ModelAnimation with a given name of this object. Don't forget to call start
Return
The constructed ObjectAnimator
Parameters
The string names of the animations. This name should correspond to the one defined and exported in the model. Typically the action name defined in the 3D creation software. getName
See also
Constructs and returns an ObjectAnimator for targeted ModelAnimation with a a given index of this object. Don't forget to call start
Return
The constructed ObjectAnimator
Parameters
Zero-based indexes for the animations of interest.
See also
Constructs and returns an ObjectAnimator for a targeted ModelAnimation of this object. The setAutoCancel(true) won't work for new call with different animations.This method applies by default this to the returned ObjectAnimator :
- The duration value to the max getDuration in order to match the original animation speed.
- The interpolator to LinearInterpolator in order to match the natural animation interpolation.
Return
The constructed ObjectAnimator
Parameters
The animations of interest