Skip to main content
API Reference NianticSpatial.NSDK.AR.Utilities.Preloading IModelPreloader

CurrentProgress


Declaration

public abstract PreloaderStatusCode CurrentProgress(DepthMode depthMode, out float progress)

Parameters

NameTypeSummary
depthModeDepthMode
-
progressfloat
A value in the range of [0.0, 1.0] representing how much progress has been made downloading the model
file of the specified feature mode. A progress of 1.0 means the file is present in the cache. The download
progress value is server dependent and may not always support incremental progress updates.

Overload 1

public abstract PreloaderStatusCode CurrentProgress(SemanticsMode semanticsMode, out float progress)

Parameters

NameTypeSummary
depthModeDepthMode
-
progressfloat
A value in the range of [0.0, 1.0] representing how much progress has been made downloading the model
file of the specified feature mode. A progress of 1.0 means the file is present in the cache. The download
progress value is server dependent and may not always support incremental progress updates.

Overload 2

public abstract PreloaderStatusCode CurrentProgress(ScanningSQCMode scanningSQCMode, out float progress)

Parameters

NameTypeSummary
depthModeDepthMode
-
progressfloat
A value in the range of [0.0, 1.0] representing how much progress has been made downloading the model
file of the specified feature mode. A progress of 1.0 means the file is present in the cache. The download
progress value is server dependent and may not always support incremental progress updates.

Overload 3

public abstract PreloaderStatusCode CurrentProgress(ObjectDetectionMode objectDetectionMode, out float progress)

Parameters

NameTypeSummary
depthModeDepthMode
-
progressfloat
A value in the range of [0.0, 1.0] representing how much progress has been made downloading the model
file of the specified feature mode. A progress of 1.0 means the file is present in the cache. The download
progress value is server dependent and may not always support incremental progress updates.