Amazon VERSION 2.0V1 Guia do Utilizador Página 122

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 121
122
Each class has to implement the setItemState function, which specifies the item name and type. If the item relates
to a particular node in the Node Graph the node interface can be exposed to the user within the Importomatic,
using the function getEditor.
Updating the Node Graph
Similar to the CameraAsset example in Creating a Tree Structure on the previous page, the scenegraph module
registers a call, which adds the geometry that, in this case, is the Group node, which encapsulates every node for this
module and the ScenegraphXml_In node.
A function that recursively reads the metadata parameters from the Group node, and builds the remaining nodes
representing the modifiers/look-files, is called at the end of the registered function and in functions that have an
effect on the Node Graph.
Additional Context Menu Actions
Delete item
Declare in the class if the item can be deleted, for instance:
def isDeletable( self ):
return True
16 CREATING NEW IMPORTOMATIC MODULES | CUSTOM HIERARCHY STRUCTURES AND EXTENSIONS
Vista de página 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 263 264

Comentários a estes Manuais

Sem comentários