Amazon VERSION 2.0V1 Guide de l'utilisateur Page 25

  • 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 24
25
Flavor API
API Usage
NodegraphAPI.Flavor
AddNodeFlavor( ) Adds a new flavor
Syntax:
Takes two strings, the node type, and the flavor name.
AddNodeFlavor( 'nodeType', 'flavorName' )
Example:
NodegraphAPI>Flavor.AddNodeFlavor( 'Render', 'myNewFlavor' )
Adds nodes of type Render to a new flavor named myNewFlavor.
ClearFlavorNodes( ) Clears all entries in a flavor
Syntax:
Takes a single string, the flavor name.
ClearFlavorNodes( 'flavorName' )
Example:
NodegraphAPI.Flavor.ClearFlavorNodes( 'myFlavor' )
Clears all entries in the flavor named myFlavor.
GetAllFlavors( ) Gets a list of all flavors.
Syntax:
Takes no arguments
Example:
NodegraphAPI.Flavor.GetAllFlavors()
4 CUSTOM NODE COLORS | FLAVOR API
Vue de la page 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 263 264

Commentaires sur ces manuels

Pas de commentaire