Python bpy.types 模块,NodeTree() 实例源码

我们从Python开源项目中,提取了以下2个代码示例,用于说明如何使用bpy.types.NodeTree()

项目:UMOG    作者:hsab    | 项目源码 | 文件源码
def register():
    bpy.types.NodeTree.textures = CollectionProperty(type=UMOGUIListProperty)
    bpy.types.NodeTree.textures_index = IntProperty()
    bpy.types.NodeTree.objects = CollectionProperty(type=UMOGUIListProperty)
    bpy.types.NodeTree.objects_index = IntProperty()
项目:UMOG    作者:hsab    | 项目源码 | 文件源码
def unregister():
    del bpy.types.NodeTree.textures
    del bpy.types.NodeTree.textures_index
    del bpy.types.NodeTree.objects
    del bpy.types.NodeTree.objects_index