How to use the babylonjs-editor.LiteGraphNode.SetColor function in babylonjs-editor

To help you get started, we’ve selected a few babylonjs-editor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github BabylonJS / Editor / vscode-extension / src / webview / graph / gui.ts View on Github external
common.add(temp, '_mode', modes).name('Mode').onChange(function (r) {
            node.mode = LiteGraph[r];
            LiteGraphNode.SetColor(node);
        });