index.ts

examples/fxedit/fx/nodes/index.ts · raw · open the example · all examples · site home

Exports: builtinNodesfxNodes

1
2
3
4
5
6
7
8
9
10
11
12
// The built-in node set
import { NodeRegistry } from "../registry.js";
import { colorNodes } from "./color.js";
import { fieldNodes } from "./fields.js";
import { inputNodes } from "./inputs.js";
import { mathNodes } from "./math.js";
import { splatNodes } from "./splat.js";
import { worldLabsNodes } from "./worldlabs.js";

export const builtinNodes = [...inputNodes, ...fieldNodes, ...mathNodes, ...colorNodes, ...worldLabsNodes, ...splatNodes];

export const fxNodes = new NodeRegistry(builtinNodes);