Amazon VERSION 2.0V1 Guide de l'utilisateur Page 122

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 264
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 263 264

Commentaires sur ces manuels

Pas de commentaire