PyMaterialXCore.PortElement

class PortElement

Bases: ValueElement

The base class for port elements.

Port elements support spatially-varying upstream connections to nodes.

Inherited by: Input and Output.

See:

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

Methods

__init__(*args, **kwargs)

getConnectedNode(self)

getConnectedOutput(self)

getNodeGraphString(self)

getNodeName(self)

getOutputString(self)

hasNodeGraphString(self)

hasOutputString(self)

setConnectedNode(self, arg0)

setConnectedOutput(self, arg0)

setNodeGraphString(self, arg0)

setNodeName(self, arg0)

setOutputString(self, arg0)

Methods

__init__(*args, **kwargs)
getConnectedNode(self: PortElement) Node
getConnectedOutput(self: PortElement) Output
getNodeGraphString(self: PortElement) str
getNodeName(self: PortElement) str
getOutputString(self: PortElement) str
hasNodeGraphString(self: PortElement) bool
hasOutputString(self: PortElement) bool
setConnectedNode(self: PortElement, arg0: Node) None
setConnectedOutput(self: PortElement, arg0: Output) None
setNodeGraphString(self: PortElement, arg0: str) None
setNodeName(self: PortElement, arg0: str) None
setOutputString(self: PortElement, arg0: str) None