PyMaterialXCore.Input

class Input

Bases: PortElement

An input element within a Node or NodeDef.

An Input holds either a uniform value or a connection to a spatially-varying Output, either of which may be modified within the scope of a Material.

See:

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

Methods

__init__(*args, **kwargs)

getConnectedNode(self)

getDefaultGeomProp(self)

getDefaultGeomPropString(self)

getInterfaceInput(self)

hasDefaultGeomPropString(self)

setConnectedInterfaceName(self, arg0)

setDefaultGeomPropString(self, arg0)

Properties

CATEGORY = 'input'

Methods

__init__(*args, **kwargs)
getConnectedNode(self: PyMaterialXCore.Input) Node
getDefaultGeomProp(self: PyMaterialXCore.Input) GeomPropDef
getDefaultGeomPropString(self: PyMaterialXCore.Input) str
getInterfaceInput(self: PyMaterialXCore.Input) PyMaterialXCore.Input
hasDefaultGeomPropString(self: PyMaterialXCore.Input) bool
setConnectedInterfaceName(self: PyMaterialXCore.Input, arg0: str) None
setDefaultGeomPropString(self: PyMaterialXCore.Input, arg0: str) None