我使用的是Blender 2.79,但Blender 2.8+的操作方式可能相同
Example for custom nodes
最初,我使用NodeSocket子类作为自定义套接字,但最终我得到了这个错误AttributeError: 'NodeSocketInterface' object has no attribute 'draw_color'
。其他人也有default_value
不在NodeSocketInterface
的问题
如何使用这个NodeSocketInterface
类
Tags:
这是因为没有注册
NodeSocketInterface
。注册NodeSocket
子类时,没有所需方法/属性的伪NodeSocketInterface
是automatically created我在理解Blender源代码的基础上编写了以下代码,它用于注册与
CustomSocket
关联的CustomSocketInterface
:相关问题 更多 >
编程相关推荐