AvatarObjectLoader
The AvatarObjectLoader class is used for loading and downloading avatar models and configuring the output.
AvatarObjectLoader was previously called AvatarLoader but has since changed with the introduction of the new modular Unity SDK or Unity SDK 2.0
Properties
Property | Type | Description |
---|---|---|
AvatarConfig | AvatarConfig | Avatar Configuration instance used when downloading avatars. |
AvatarImporter | IAvatarImporter | Avatar Importer instance used for importing the GLB model. |
Public Methods
Method | Returns | Description |
---|---|---|
| void | Initiates avatar download and import operations. Takes an Avatar URL as a parameter. |
| void | Cancels the current avatar loading process. Fires |
Events
Event | EventArgs | Description |
---|---|---|
OnCompleted | CompletionEventArgs | Called upon avatar loader success. |
OnFailed | FailureEventArgs | Called upon avatar loading failure. |
OnProgressChanged | ProgressChangedEventArgs | Called upon avatar loader progress change. |
Example
Last updated