Amazon VERSION 2.0V1 Guide de l'utilisateur Page 168

  • 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 167
168
The diagram below shows an example of physical and logical connections in the Node Graph. Nodes A and B have
physical connections to inputs on the Switch node, and node C has a physical connection to the output of the Switch
node.
The logical connection from node A or B to node C, depends on the setting of the switch. When the Switch node’s in
parameter is set to 0, there is a logical connection from node A, to node C, passing through the Switch node. When
the Switch nodes in parameter is set to 1, there is a logical connection from node B to node C, passing through the
Switch node.
Physical and Logical Source
Physical Source
To find the physical source from a given port, use <yourPortName>.GetConnectedPorts(). For example, create a
PrimitiveCreate node and a Merge node, connect the output of the PrimitiveCreate node to an input on the Merge
node, then get the source of the connection into the Merge node:
# Get the root node
root = NodegraphAPI.GetRootNode()
23 NODEGRAPH API | PHYSICAL AND LOGICAL CONNECTIONS
Vue de la page 167
1 2 ... 163 164 165 166 167 168 169 170 171 172 173 ... 263 264

Commentaires sur ces manuels

Pas de commentaire