public final void setMaxDragDistance ( final float maxDragDistance ) { if ( maxDragDistance != 0 ) { Condition . INSTANCE . ensureGreater ( maxDragDistance , threshold , "The maximum drag distance must be greater than " + threshold ) ; } this . maxDragDistance = maxDragDistance ; }
Sets the maximum drag distance .