Amazon VERSION 2.0V1 User's Guide Page 25

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 24
1 2 ... 20 21 22 23 24 25 26 27 28 29 30 ... 263 264

Comments to this Manuals

No comments