Classes
Methods
attachToCamera()
Rescale own avatar and attach to current camera, 35cm ahead, 5cm below.
- Source:
cameraChanged()
Called when active camera changes/avatar attaches to camera
- Source:
detachFromCamera()
Rescale own avatar and detach from camera
- Source:
displayAlt()
Displays altImage if available, altText otherwise
- Source:
displayImage(image)
Display and optionally set altImage
Parameters:
Name | Type | Description |
---|---|---|
image |
path to the image file |
- Source:
displayStream()
Create and display VideoTexture from given MediaStream.
- Source:
displayText()
Display and optionally set altText.
- Source:
(async) displayVideo()
Display video from given device, used for own avatar.
- Source:
dispose()
dispose of everything
- Source:
(async) show()
Show the avatar. Used for both own and remote avatars.
- Source: