public GVRAnimation setRepeatMode ( int repeatMode ) { if ( GVRRepeatMode . invalidRepeatMode ( repeatMode ) ) { throw new IllegalArgumentException ( repeatMode + " is not a valid repetition type" ) ; } mRepeatMode = repeatMode ; return this ; }
Set the repeat type .