Classes
Members
autoAttach
Should own video avatar be attached to hud?
- Source:
autoStart
Should show() start video?
- Source:
Methods
attachToCamera(position)
Rescale own avatar and attach to current camera at given position
Parameters:
Name | Type | Description |
---|---|---|
position |
default 50cm ahead, 15cm right, 15cm 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:
displayAltText()
Display and optionally set altText.
- 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:
(async) displayVideo()
Display video from given device, used for own avatar.
- Source:
dispose()
dispose of everything
- Source:
(async) emoji()
Remote emoji event routed by WorldManager. Video avatar looks the oposite way, so this just blows the particles to the opposite direction
- Source:
(async) show()
Show the avatar. Used for both own and remote avatars.
- Source: