Avatar Methods |
The Avatar type exposes the following members.
Name | Description | |
---|---|---|
AreAnyControllersEngaged |
Returns true if any of the controllers are currently engaging with an object
| |
AttachControllers | ||
Find(UserID) | Obsolete.
Returns the user avatar for the given user id
| |
FindT(UserID) | Obsolete.
Returns the user avatar for the given user id, cast to the given type or interface
| |
FindLocal | Obsolete.
Returns the local user avatar
| |
FindLocalT | Obsolete.
Returns the local user avatar cast to the given type or interface
| |
GetBounds |
Returns the bounds volume that represents this avatar's location in space
| |
GetController |
Gets a reference to the controller object for the specified hand
| |
GetControllerSerialisation |
Gets the controller serialisation implementation
| |
HandleOwnerStateChanged | ||
IsLocal |
Returns true if the avatar is a local one
| |
OnDestroy |
Unity component method
| |
OnTrackedTransformToggled | ||
SelectAvatarCameraTarget |
Enable the avatar camera target
| |
SetLayers |
Sets the layer of all game objects attached to this avatar
| |
SetLocation(Spawn) |
Sets this avatar's location based on the specified Spawn point
| |
SetLocation(Vector3, NullableQuaternion, Boolean) |
Moves the avatar's to the specified position and rotation in worldspace.
If correctForPlaySpace is TRUE, then the Avatar's head will appear at the location specified.
If correctForPlaySpace is FALSE, then the play space's center will appear at the location specified
| |
ShowTeleportTrail | ||
ToggleHeadVisibility |
Toggle visibility of the head mesh
| |
UpdateRendererVisibility |
Updates the visibility of the avatar renderer component associated with the given ToggleNotifier
|
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.) |