Amazon VERSION 2.0V1 Guida Utente Pagina 25

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 264
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 263 264

Commenti su questo manuale

Nessun commento