Amazon VERSION 2.0V1 Guía de usuario Pagina 27

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
27
API Usage
NodegraphAPI.Flavor
NodeMatchesFlavors( ) Checks to see if a specified node is in a specified flavor, and not in any
specified ignore flavors. Returns a Boolean.
Syntax:
Takes three strings, node type, flavor to match, and ignore flavors. The
node type must be a single string, while flavor, and ignore flavors can be
any sequence of strings. Flavor, and ignore flavors can each also be
None.
NodeMatchesFlavors( 'nodeType', 'matchFlavors', 'ignoreFlavors' )
Examples:
To check if a the node type Merge is in the flavor 3d, but not in the flavor
2d:
NodegraphAPI.Flavor.NodeMatchesFlavor( 'Merge', '3d', '2d' )
Returns True.
To just check if the node type Merge is the the flavor 3d:
NodegraphAPI.Flavor.NodeMatchesFlavor( 'Merge', '3d', None )
Returns True.
To check if the node type Merge is not in the flavor 2d:
NodegraphAPI.Flavor.NodeMatchesFlavors( 'Merge', None, '2d' )
Returns True.
4 CUSTOM NODE COLORS | FLAVOR API
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 263 264

Comentarios a estos manuales

Sin comentarios