Click or drag to resize

Avatar Methods

The Avatar type exposes the following members.

Methods
  NameDescription
Public methodAreAnyControllersEngaged
Returns true if any of the controllers are currently engaging with an object
Public methodStatic memberFind(UserID)
Returns the user avatar for the given user id
Public methodStatic memberFindT(UserID)
Returns the user avatar for the given user id, cast to the given type or interface
Public methodStatic memberFindLocal
Returns the local user avatar
Public methodStatic memberFindLocalT
Returns the local user avatar cast to the given type or interface
Public methodGetBounds
Returns the bounds volume that represents this avatar's location in space
Public methodGetController
Gets a reference to the controller object for the specified hand
Protected methodGetControllerSerialisation
Gets the controller serialisation implementation
Public methodIsLocal
Returns true if the avatar is a local one
Protected methodOnDestroy
Unity component method
Public methodSelectAvatarCameraTarget
Enable the avatar camera target
Public methodSetLocation(Spawn)
Sets this avatar's location based on the specified Spawn point
Public methodSetLocation(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
Protected methodShowTeleportTrail
Protected methodToggleHeadVisibility
Toggle visibility of the head mesh
Top
Extension Methods
  NameDescription
Public Extension MethodGetCopyOf
Copies all properties of a component from source to target. Uses reflection to set properties.
(Defined by ComponentExtensions.)
Public Extension MethodWaitForT
Waits for a singleton on a coroutine
(Defined by SingletonManager.)
Top
See Also