public void setMorphTime ( float time ) { int p = ( int ) time ; int n = p + 1 ; float offset = time - p ; p = rational ( p ) ; n = rational ( n ) ; setFrame ( p , n , offset ) ; }
Set the time index for this morph . This is given in terms of shapes so 0 . 5f would give you the position half way between the first and second shapes .