can now add nodes

This commit is contained in:
2026-04-19 05:45:33 +10:00
parent 7e7e6f2c22
commit 34c2aa4316
23 changed files with 864 additions and 1 deletions

View File

@@ -27,6 +27,17 @@ export class NodeBase {
*/
static NodeType = "";
/**
* Returns default pin configuration for this node type.
* Override in subclasses to define node-specific pins.
*
* @UFUNCTION(BlueprintPure)
* @returns {{ inputs: Array<{id: string, name: string, direction: string, kind: string, defaultValue?: string, min?: number, max?: number}>, outputs: Array<{id: string, name: string, direction: string, kind: string}> }}
*/
static BlueprintPure_GetDefaultPins() {
return { inputs: [], outputs: [] };
}
/**
* Called after the node's base DOM (header, pins) has been built.
* Override to inject type-specific UI into the article element.