Home Reference Source
import {Settings} from 'bimsurfer3/viewer/settings.js'
public class | source

Settings

This class builds a quick UI for changing basic settings and stores the settings in localStorage. Changing any of these settings requires a reload of the model, or browser

TODO:

  • This class was quickly hacked together, should not be built upon

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public

Method Summary

Public Methods
public

drawLineRenders(value: *)

public

drawTileBorders(value: *)

public
public
public

processSettings(parent: *, settingsDefinition: *, keyPrefix: *, settings: *)

public

Public Constructors

public constructor() source

Public Members

public settings: * source

Public Methods

public drawLineRenders(value: *) source

Params:

NameTypeAttributeDescription
value *

public drawTileBorders(value: *) source

Params:

NameTypeAttributeDescription
value *

public loadAllTiles() source

public orderIndependentTransparency(value: *) source

Params:

NameTypeAttributeDescription
value *

public processSettings(parent: *, settingsDefinition: *, keyPrefix: *, settings: *) source

Params:

NameTypeAttributeDescription
parent *
settingsDefinition *
keyPrefix *
settings *

public saveSettings() source