浏览代码

Add a new "Object" type

Popov72 5 年之前
父节点
当前提交
08852123a9

文件差异内容过多而无法显示
+ 3 - 0
nodeEditor/src/diagram/nodePort.ts


+ 2 - 0
src/Materials/Node/Enums/nodeMaterialBlockConnectionPointTypes.ts

@@ -18,6 +18,8 @@ export enum NodeMaterialBlockConnectionPointTypes {
     Color4 = 64,
     /** Matrix */
     Matrix = 128,
+    /** Custom object */
+    Object = 256,
     /** Detect type based on connection */
     AutoDetect = 1024,
     /** Output type that will be defined by input type */