public void setPickingEnabled ( boolean enabled ) { if ( enabled != getPickingEnabled ( ) ) { if ( enabled ) { attachComponent ( new GVRSphereCollider ( getGVRContext ( ) ) ) ; } else { detachComponent ( GVRCollider . getComponentType ( ) ) ; } } }
Simple high - level API to enable or disable eye picking for this scene object .