public void onDrawFrame ( float frameTime ) { if ( isEnabled ( ) && ( mScene != null ) && mPickEventLock . tryLock ( ) ) { // Don't call if we are in the middle of processing another pick try { doPick ( ) ; } finally { mPickEventLock . unlock ( ) ; } } }
Called every frame if the picker is enabled to generate pick events .