Class ModelLoader
Model load utility
In principle, callback called asynchronously
Anything with Async will be executed asynchronously, success result Task will be returned
Inherited Members
Namespace: Pixiv.VroidSdk
Assembly: VRoidSDK.dll
Syntax
public static class ModelLoader
Methods
Initialize(ISdkConfig, IDownloadLicensePublishable, String, UInt32, SynchronizationContext)
初期化
Declaration
public static void Initialize(ISdkConfig config, IDownloadLicensePublishable downloadApi, string cacheEncryptPassword, uint maxCacheCount = 10U, SynchronizationContext context = null)
Parameters
Type | Name | Description |
---|---|---|
ISdkConfig | config | VRoid SDKの利用設定 |
IDownloadLicensePublishable | downloadApi | ダウンロードAPIをリクエストするクライアント |
String | cacheEncryptPassword | モデルデータを暗号化するアプリケーション固有の任意文字列 |
UInt32 | maxCacheCount | 保持するモデルの最大数 |
SynchronizationContext | context | メインスレッドのSynchronizationContext |