# ExistsInCache Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Utilities.Preloading.IModelPreloader.ExistsInCache/ ExistsInCache Checks if a model associated with the specified DepthMode is present in the cache. --- ## Declaration public abstract bool ExistsInCache(DepthMode depthMode) #### Summary Checks if a model associated with the specified DepthMode is present in the cache. #### Returns True if the specified model was found in the application's cache. ### Parameters | Name | Type | Summary | | --- | --- | --- | | depthMode | DepthMode | - | --- ## Overload 1 public abstract bool ExistsInCache(SceneSegmentationMode sceneSegmentationMode) #### Summary Checks if a model associated with the specified SceneSegmentationMode is present in the cache. #### Returns True if the specified model was found in the application's cache. ### Parameters | Name | Type | Summary | | --- | --- | --- | | depthMode | DepthMode | - | --- ## Overload 2 public abstract bool ExistsInCache(ScanningSQCMode scanningSQCMode) #### Summary Checks if a model associated with the specified ScanningSQCMode is present in the cache. #### Returns True if the specified model was found in the application's cache. ### Parameters | Name | Type | Summary | | --- | --- | --- | | depthMode | DepthMode | - | ---