Amazon VERSION 2.0V1 Guia do Utilizador Página 27

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 264
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 263 264

Comentários a estes Manuais

Sem comentários