Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MixMatch3D

This class creates a bridge between the web viewer and the compute server to perform requests related to our 3D Fitting Engine and displays the result.

Hierarchy

  • MixMatch3D

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

requestInfo

requestInfo: FittingEngine3DRequestInfo = undefined

Object to hold information for the compute server request.

Methods

compute

  • compute(): Promise<Array<Blob>>
  • Make a request to the compute server and display the results.

    Returns Promise<Array<Blob>>

    The array of generated garment blobs as a promise.

createScene

  • createScene(garmentBlobs: Array<Blob>): Promise<void>
  • Create a new babylon scene cascade and add it to the viewer.

    Parameters

    • garmentBlobs: Array<Blob>

      The garments that should be rendered.

    Returns Promise<void>

Generated using TypeDoc