Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MixMatch2D

This class creates a bridge between the web viewer and the compute server to perform 2D related rendering requests as well as displaying the result.

Hierarchy

  • MixMatch2D

Index

Constructors

Properties

Methods

Constructors

constructor

  • Create a new MixMatch2D instance.

    Parameters

    • computeServer: ComputeServer

      The compute server instance.

    • viewer: WebViewer

      The web viewer instance.

    • Default value initialBgColor: Color3 = BABYLON.Color3.White()

    Returns MixMatch2D

Properties

layout

layout: SlotLayout = undefined

The currently set slot layout.

Methods

compute

  • compute(): Promise<void>
  • Send a request to the compute server and apply the resulting rendering as a new scene to the WebViewer.

    Returns Promise<void>

Generated using TypeDoc