DownloadModel
Declaration
Summary
Returns
Returns a PreloaderStatusCode indicating the initial status of the request. The final result of the request
may be deferred due to asynchronous network operations, so if this request returns Success or
RequestInProgress, the user should continue to query CurrentProgress
every frame to confirm that the network request completes successfully.
Parameters
| Name | Type | Summary |
|---|---|---|
| depthMode | DepthMode | - |
Overload 1
Summary
Begins downloading the requested model file to the cache if not already present. The request status can be
polled with CurrentProgress or ExistsInCache.
Returns
Returns a PreloaderStatusCode indicating the initial status of the request. The final result of the request
may be deferred due to asynchronous network operations, so if this request returns Success or
RequestInProgress, the user should continue to query CurrentProgress
every frame to confirm that the network request completes successfully.
Parameters
| Name | Type | Summary |
|---|---|---|
| depthMode | DepthMode | - |
Overload 2
Summary
Begins downloading the requested model file to the cache if not already present. The request status can be
polled with CurrentProgress or ExistsInCache.
Returns
Returns a PreloaderStatusCode indicating the initial status of the request. The final result of the request
may be deferred due to asynchronous network operations, so if this request returns Success or
RequestInProgress, the user should continue to query CurrentProgress
every frame to confirm that the network request completes successfully.
Parameters
| Name | Type | Summary |
|---|---|---|
| depthMode | DepthMode | - |
Begins downloading the requested model file to the cache if not already present. The request status can be
polled with CurrentProgress or ExistsInCache.