Home Reference Source
import {BlueprintJS} from 'blueprint3d-js/scripts/blueprint.js'
public class | source

BlueprintJS

Constructor Summary

Public Constructor
public

Creates an instance of BlueprintJS.

Member Summary

Public Members
public
public
public
public

Public Constructors

public constructor(-: Object) source

Creates an instance of BlueprintJS. This is the entry point for the application

Params:

NameTypeAttributeDescription
- Object

options The initialization options.

options.floorplannerElement string

Id of the html element to use as canvas. Needs to exist in the html

options.threeElement string

Id of the html element to use as canvas. Needs to exist in the html and should be #idofhtmlelement

options.threeCanvasElement string

Id of the html element to use as threejs-canvas. This is created automatically

options.textureDir string

path to texture directory. No effect

options.widget boolean

If widget mode then disable the controller from interactions

Example:

let blueprint3d = new BP3DJS.BlueprintJS(opts);

Public Members

public floorplanner: Floorplanner2D source

Properties:

NameTypeAttributeDescription
floorplanner Floorplanner2D

public model: Model source

Properties:

NameTypeAttributeDescription
model Model

public options: Object source

Properties:

NameTypeAttributeDescription
options Object

public three: Main source

Properties:

NameTypeAttributeDescription
three Main