PyMaterialXCore.TypedElement

class TypedElement

Bases: Element

The base class for typed elements.

Inherited by: InterfaceElement, ValueElement, AttributeDef, GeomPropDef, Member, and TargetDef.

See:

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

Methods

__init__(*args, **kwargs)

getType(self)

getTypeDef(self)

hasType(self)

isColorType(self)

isMultiOutputType(self)

setType(self, arg0)

Attribute Names

TYPE_ATTRIBUTE = 'type'

Methods

__init__(*args, **kwargs)
getType(self: TypedElement) str
getTypeDef(self: TypedElement) TypeDef
hasType(self: TypedElement) bool
isColorType(self: TypedElement) bool
isMultiOutputType(self: TypedElement) bool
setType(self: TypedElement, arg0: str) None