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
| |
Find(UserID) |
Returns the user avatar for the given user id
| |
FindT(UserID) |
Returns the user avatar for the given user id, cast to the given type or interface
| |
FindLocal |
Returns the local user avatar
| |
FindLocalT |
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
| |
IsLocal |
Returns true if the avatar is a local one
| |
OnDestroy |
Unity component method
| |
SelectAvatarCameraTarget |
Enable the avatar camera target
| |
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
|
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.) |