@ FloatRange ( from = 0f , to = 1f ) public float getAnimatedValueAbsolute ( ) { if ( composition == null ) { return 0 ; } return ( frame - composition . getStartFrame ( ) ) / ( composition . getEndFrame ( ) - composition . getStartFrame ( ) ) ; }
Returns the current value of the animation from 0 to 1 regardless of the animation speed direction or min and max frames .