Hierarchy

  • RenderController

Implements

Constructors

Properties

Accessors

Methods

Constructors

Properties

cameraAsst: CameraAssistant
currentPlace: ClickToPlaceOptions
currentlyLoading: boolean = false
dimensionsController: DimensionsController
fullscreenController: FullscreenController
hideDoors: boolean = false
productRouter: ProductRouter = ...
renderer: IJSSpinRenderingEngine
saveAndLoad: ProjectSaveAndLoad = ...
sceneUpdateTimeoutId: number
showMeasurements: boolean = false

Accessors

Methods

  • Gets a list of product groups to show dimensions for

    Remarks

    Each stand-alone ottoman is its own separate group. Everything else is considered one large group, as we are assuming everything else is either stacked in a parent/child relationship (compose surface) and/or chained as sibling attachments (mount points).

    Returns

    array of render groups

    Returns {
        id: string;
        renderObjects: IRenderObject[];
    }[]

  • Parameters

    • productId: string
    • assembly: {
          productId: string;
          stepType: string;
      }[]

    Returns Promise<Product>

  • Parameters

    • sku: string
    • assembly: {
          sku: string;
          stepType: string;
      }[]

    Returns Promise<Product>

  • A method to call prior to actually loadding if you want to alert the renderer that you have started the loading process Maybe you are doing other stuff (UI cleanup, etc) before you actually call .loadProject, and you want to renderer to know you are beginning the loading process so that renderer guidance shows up correctly

    Returns void

  • Parameters

    • Optional type: string
    • Optional width: number
    • Optional height: number
    • Optional mimeType: string
    • Optional clearColor: IColor4

    Returns Promise<string>

Generated using TypeDoc