PyMaterialXCore.MaterialAssign

class MaterialAssign

Bases: GeomElement

A material assignment element within a Look.

See:

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

Methods

__init__(*args, **kwargs)

getExclusive(self)

getMaterial(self)

getMaterialOutputs(self)

getReferencedMaterial(self)

hasMaterial(self)

setExclusive(self, arg0)

setMaterial(self, arg0)

Properties

CATEGORY = 'materialassign'

Methods

__init__(*args, **kwargs)
getExclusive(self: MaterialAssign) bool
getMaterial(self: MaterialAssign) str
getMaterialOutputs(self: MaterialAssign) list[Output]
getReferencedMaterial(self: MaterialAssign) Node
hasMaterial(self: MaterialAssign) bool
setExclusive(self: MaterialAssign, arg0: bool) None
setMaterial(self: MaterialAssign, arg0: str) None