AvatarRenderer Class |
Namespace: ImmerseSDK.Avatars
[HelpURLAttribute("https://immerse.readme.io/")] public abstract class AvatarRenderer : UnityEngine.MonoBehaviour
The AvatarRenderer type exposes the following members.
Name | Description | |
---|---|---|
AvatarRenderer | Initializes a new instance of the AvatarRenderer class |
Name | Description | |
---|---|---|
Index |
The index of this Avatar Renderer.
| |
VisualId |
The unique Visual Id currently assigned to this avatar.
|
Name | Description | |
---|---|---|
GetColorForVisualId |
Returns a 32bit color value that you have associated with this avatar.
The value returned here will be used by the Immerse SDK for things such as
highlighting interactive objects and coloring the user's camera button in WebGL.
| |
Init |
Initialises this avatar renderer before it is accessed by the Immerse SDK.
| |
SetVisualId |
Sets the avatar renderer's Visual Id.
The Visual Id is guaranteed to be unique and can be used as an index
or seed value to determine the visual representation of this avatar instance.
|
Name | Description | |
---|---|---|
HandLeft |
A reference to the avatar's left hand inside this prefab.
| |
HandRight |
A reference to the avatar's right hand inside this prefab.
| |
Head |
A reference to the avatar head inside this prefab.
|
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.) |