Class: Screencast

Screencast(world, name)

Simple screen sharing component. Creates two planes: one (screenShareMesh) to start/stop sharing, and the other one (videoMesh) to display the video stream. Properties of created meshes (position etc) are safe to be changed after creation. Creates and deletes a server-side object for synchronization.

Constructor

new Screencast(world, name)

Creates but hides meshes.
Parameters:
Name Type Description
world the world
name screen share name, displayed when sharing. Defaults to user name or id.
Source:

Classes

Screencast

Members

text

text to display on the share screen button, by default Share screen
Source:

Methods

init()

Initialize the sharing component. Requires functional WorldManager attached to the world, so is safe to call from World.entered() method, or after it has been called.
Source: