# RegisterModel Source: https://www.nianticspatial.com/docs/api/unity/NianticSpatial.NSDK.AR.Utilities.Preloading.IModelPreloader.RegisterModel/ RegisterModel --- ## Declaration public abstract PreloaderStatusCode RegisterModel(DepthMode depthMode, string filepath) #### Summary Register a local neural network model file for a specific feature. This overrides NSDK's URI for the specified feature mode and remains in effect until NSDK is deinitialized. The file must be in a location accessible by the application and remain in place for the duration of the AR session. #### Returns Returns a PreloaderStatusCode indicating the result of the request. ### Parameters | Name | Type | Summary | | --- | --- | --- | | depthMode | DepthMode | - | | filepath | string | - | --- ## Overload 1 public abstract PreloaderStatusCode RegisterModel(SceneSegmentationMode sceneSegmentationMode, string filepath) #### Summary Register a local neural network model file for a specific feature. This overrides NSDK's URI for the specified feature mode and remains in effect until NSDK is deinitialized. The file must be in a location accessible by the application and remain in place for the duration of the AR session. #### Returns Returns a PreloaderStatusCode indicating the result of the request. ### Parameters | Name | Type | Summary | | --- | --- | --- | | depthMode | DepthMode | - | | filepath | string | - | --- ## Overload 2 public abstract PreloaderStatusCode RegisterModel(ScanningSQCMode scanningSQCMode, string filepath) #### Summary Register a local neural network model file for a specific feature. This overrides NSDK's URI for the specified feature mode and remains in effect until NSDK is deinitialized. The file must be in a location accessible by the application and remain in place for the duration of the AR session. #### Returns Returns a PreloaderStatusCode indicating the result of the request. ### Parameters | Name | Type | Summary | | --- | --- | --- | | depthMode | DepthMode | - | | filepath | string | - | ---