public void setKeyframes ( Keyframe ... values ) { int numKeyframes = values . length ; Keyframe keyframes [ ] = new Keyframe [ Math . max ( numKeyframes , 2 ) ] ; mValueType = ( ( Keyframe ) values [ 0 ] ) . getType ( ) ; for ( int i = 0 ; i < numKeyframes ; ++ i ) { keyframes [ i ] = ( Keyframe ) values [ i ] ; } mKeyframeSet = new KeyframeSet ( keyframes ) ; }
Set the animated values for this object to this set of Keyframes .