Module: Babylon

All of the Babylon specific components of the Desktop Vision JS SDK

Classes

Computer
Controls
Keyboard

Methods


<static> loadSDK(BABYLON)

Initializes the sdk by injecting the Babylon dependency and returning Desktop Vsiion components

Parameters:
Name Type Description
BABYLON BABYLON

the babylon.js library, or an object that includes the following Babylon modules: Color3, Color4, Vector3, Mesh, MeshBuilder, StandardMaterial, Texture, VideoTexture, DynamicTexture, UtilityLayerRenderer, PointerEvents, KeyboardEventTypes, BoundingBoxGizmo, SixDofDragBehavior

Returns:
Type
DesktopVision

Type Definitions


DesktopVision

Type:
  • Object
Properties:
Name Type Description
Computer Computer

The 3d Computer

ComputerConnection ComputerConnection

The connection between the streamer device and webclient

Keyboard Keyboard

The 3d keyboard attached to the Computer

Controls Controls

The controls for interacting with the Computer