InworldFileDownloader
CharacterFetchingProgress
This class is used to get data fetching progress for an InworldCharacter. It stores all the enums declared and used in this package.
Properties
Property | Type | Description |
---|---|---|
thumbnailProgress | UnityWebRequestAsyncOperation | Gets the progress of the thumbnail download |
avatarProgress | UnityWebRequestAsyncOperation | Gets the progress of the avatar download |
Progress | float | Gets the progress of the download as a percentage (0 to 100) |
InworldFileDownloader
Inspector Variables
Variable | Description |
---|---|
Download Thumbnail | Describes if it downloads thumbnails |
Download Avatar | Describes if it downloads avatars |
Events
Event | Type | Description |
---|---|---|
OnAvatarDownloaded | Action<InworldCharacterData> | Triggered when .glb model downloaded |
OnThumbnailDownloaded | Action<InworldCharacterData> | Triggered when thumbnails downloaded |
OnAvatarFailed | Action<InworldCharacterData> | Triggered when .glb model downloading failed |
OnThumbnailFailed | Action<InworldCharacterData> | Triggered when thumbnail downloading failed |
Properties
Property | Type | Description |
---|---|---|
Progress | float | Gets the progress of the download as a percentage (0 to 100) |
API
Function | Return Type | Description | Parameters |
---|---|---|---|
DownloadCharacterData | void | Downloads thumbnail and avatar of InworldCharacterData. | charData: target InworldCharacterData |
Init | void | Clears all the current downloading requests | N/A |
DownloadThumbnail | void | Downloads thumbnail of InworldCharacterData | charData: target InworldCharacterData |
DownloadAvatar | void | Downloads avatar of InworldCharacterData | charData: target InworldCharacterData |
DownloadAvatar |