PyMaterialXCore.NodeGraph

class NodeGraph

Bases: GraphElement

A node graph element within a Document.

See:

https://materialx.org/docs/api/class_node_graph.html

Methods

__init__(*args, **kwargs)

addInterfaceName(self, arg0, arg1)

getDeclaration(self, arg0)

getDownstreamPorts(self)

getMaterialOutputs(self)

getNodeDef(self)

modifyInterfaceName(self, arg0, arg1)

removeInterfaceName(self, arg0)

setNodeDef(self, arg0)

Properties

CATEGORY = 'nodegraph'

Methods

__init__(*args, **kwargs)
addInterfaceName(self: NodeGraph, arg0: str, arg1: str) PyMaterialXCore.Input
getDeclaration(self: NodeGraph, arg0: str) InterfaceElement
getDownstreamPorts(self: NodeGraph) list[PortElement]
getMaterialOutputs(self: NodeGraph) list[Output]
getNodeDef(self: NodeGraph) NodeDef
modifyInterfaceName(self: NodeGraph, arg0: str, arg1: str) None
removeInterfaceName(self: NodeGraph, arg0: str) None
setNodeDef(self: NodeGraph, arg0: NodeDef) None