AvatarService Class |
Namespace: ImmerseSDK.Avatars
public sealed class AvatarService : SingletonBehaviour
The AvatarService type exposes the following members.
Name | Description | |
---|---|---|
AvatarService | Initializes a new instance of the AvatarService class |
Name | Description | |
---|---|---|
AttachCustomAvatarRenderer |
Swaps the given avatar's current renderer for a custom one.
| |
AttachDefaultAvatarRenderer |
Swaps the given avatar's current renderer for the SDK's default one.
| |
CoroutineInitialise |
This method is used by our internal systems so do not call it directly.
(Overrides SingletonBehaviourCoroutineInitialise.) | |
SwitchLocalUserToScripted |
Switch avatar to scripted avatar
| |
ToString | Returns the name of the GameObject. | |
UpdateAllAvatars |
Instantiate any missing avatars using their last persisted state
|
Name | Description | |
---|---|---|
OnUserVisualIdChanged |
Fired when a user's visual id has changed
|
Name | Description | |
---|---|---|
GetCopyOf |
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.) | |
WaitForT |
Waits for a singleton on a coroutine
(Defined by SingletonManager.) |