AvatarLocal Class |
Namespace: ImmerseSDK.Avatars
public class AvatarLocal : Avatar, IRenderingAvatar, IAvatar, ITeleportingAvatar, IToolsAvatar
The AvatarLocal type exposes the following members.
Name | Description | |
---|---|---|
AvatarLocal | Initializes a new instance of the AvatarLocal class |
Name | Description | |
---|---|---|
Controllers |
Gets the controller set for this Avatar
| |
HeadCamera |
The head (or eye) camera being used
| |
Navigation |
Gets the Navigation instance for this Avatar
|
Name | Description | |
---|---|---|
AttachControllers | (Overrides AvatarAttachControllers(ControllerSet).) | |
GetControllerSerialisation |
Gets the controller serialisation implementation
(Overrides AvatarGetControllerSerialisation(Hands).) | |
HandleOwnerStateChanged | (Overrides AvatarHandleOwnerStateChanged(User).) | |
OnDestroy |
Unity component method
(Overrides AvatarOnDestroy.) | |
OnTrackedTransformToggled | (Overrides AvatarOnTrackedTransformToggled(ToggleNotifier, Boolean).) | |
SetLocation |
Sets this Avatar's Spawn point
(Overrides AvatarSetLocation(Spawn).) | |
SetLocationPersisted |
Moves the avatar's to the specified position and rotation in worldspace, and is persisted.
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
| |
ShowBackgroundFader |
Fade the VR background out (block it), or fade it back in (unblock it)
| |
TeleportToSpawnPoint |
Teleports this Avatar back to it's original Spawn point (if it's still valid)
|
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.) |