PyMaterialXCore.GeomPropDef¶
- class GeomPropDef¶
Bases:
TypedElementAn element representing a declaration of geometric property data.
A
GeomPropDefelement contains a reference to a geometric node and a set of modifiers for that node. For example, a world-space normal can be declared as a reference to the"normal"geometric node with a space setting of"world", or a specific set of texture coordinates can be declared as a reference to the"texcoord"geometric node with an index setting of"1".Methods
__init__(*args, **kwargs)getGeomProp(*args, **kwargs)Overloaded function.
getIndex(self)getSpace(self)hasGeomProp(*args, **kwargs)Overloaded function.
hasIndex(self)hasSpace(self)setGeomProp(*args, **kwargs)Overloaded function.
setIndex(self, arg0)setSpace(self, arg0)Properties¶
- CATEGORY = 'geompropdef'¶
Methods¶
- __init__(*args, **kwargs)¶
- getGeomProp(*args, **kwargs)¶
Overloaded function.
getGeomProp(self: PyMaterialXCore.GeomPropDef) -> str
getGeomProp(self: PyMaterialXCore.GeomPropDef) -> str
- getIndex(self: GeomPropDef) str¶
- getSpace(self: GeomPropDef) str¶
- hasGeomProp(*args, **kwargs)¶
Overloaded function.
hasGeomProp(self: PyMaterialXCore.GeomPropDef) -> bool
hasGeomProp(self: PyMaterialXCore.GeomPropDef) -> bool
- hasIndex(self: GeomPropDef) bool¶
- hasSpace(self: GeomPropDef) bool¶
- setGeomProp(*args, **kwargs)¶
Overloaded function.
setGeomProp(self: PyMaterialXCore.GeomPropDef, arg0: str) -> None
setGeomProp(self: PyMaterialXCore.GeomPropDef, arg0: str) -> None
- setIndex(self: GeomPropDef, arg0: str) None¶
- setSpace(self: GeomPropDef, arg0: str) None¶