import { IDisplayManager } from './displayManager' ; import { NodeMaterialBlock } from 'babylonjs/Materials/Node/nodeMaterialBlock' ; export class DiscardDisplayManager implements IDisplayManager { public getHeaderClass ( block ) { return "" ; } public shouldDisplayPortLabels ( block ) { return true ; } public getHeaderText ( block ) { return block . name ; } public getBackgroundColor ( block ) { return "#540b0b" ; } public updatePreviewContent ( block , contentArea ) { contentArea . classList . add ( "discard-block" ) ; } }