PyMaterialXCore¶
Core MaterialX elements and graph traversal.
Classes¶
An attribute definition element within a |
|
A layout element used to contain, group, and document nodes within a graph. |
|
A collection element within a |
|
A three-component RGB color value. |
|
A four-component RGBA color value. |
|
An element representing a block of descriptive text within a |
|
A MaterialX document, which represents the top-level element in the MaterialX ownership hierarchy. |
|
An edge between two connected |
|
The base class for MaterialX elements. |
|
A set of options for comparing the functional equivalence of elements. |
|
A comparison result for the functional equivalence of two elements. |
|
A function that takes an |
|
A generic element subclass, for instantiating elements with unrecognized categories. |
|
The base class for geometric elements, which support bindings to geometries and geometric collections. |
|
A geometry info element within a |
|
A geometric property element within a |
|
An element representing a declaration of geometric property data. |
|
The base class for graph elements. |
|
An iterator representing the state of an upstream graph traversal. |
|
An implementation element within a |
|
An iterator representing the current state of an inheritance traversal. |
|
The base class for interface elements. |
|
A |
|
A look element within a |
|
A look group element within a |
|
A material assignment element within a |
|
A 3x3 matrix of floating-point values. |
|
A 4x4 matrix of floating-point values. |
|
The base class for square matrices of scalar values. |
|
A member element within a |
|
An element representing a newline within a |
|
A node definition element within a |
|
A node graph element within a |
|
A function that takes a |
|
A spatially-varying output element within a |
|
The base class for port elements. |
|
A property element within a |
|
A property assignment element within a |
|
A property set element within a |
|
A property set assignment element within a |
|
A helper object for applying string modifiers to data values in the context of a specific element and geometry. |
|
The definition of an implementation target as a |
|
A token element representing a string value. |
|
An iterator representing the state of a tree traversal. |
|
A type definition element within a |
|
The base class for typed elements. |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A |
|
A unit declaration element within a |
|
An abstract base class for unit converters. |
|
A registry for |
|
A unit definition element within a |
|
A unit type definition element within a |
|
A generic, discriminated value, whose type may be queried dynamically. |
|
The base class for elements that support typed values. |
|
A variant element within a |
|
A variant assignment element within a |
|
A variant set element within a |
|
A vector of two floating-point values. |
|
A vector of three floating-point values. |
|
A vector of four floating-point values. |
|
The base class for vectors of scalar values. |
|
A visibility element within a |
Exception Types¶
The base class for exceptions that are propagated from the MaterialX library to the client application. |
|
A type of exception that is raised when a traversal call encounters a cycle. |
|
A type of exception that is raised when an |
Module Functions¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PyMaterialXCore Module Function Documentation¶
- createNamePath(arg0: list[str]) str¶
- createValidName(name: str, replaceChar: str = '_') str¶
- geomStringsMatch(arg0: str, arg1: str, arg2: bool) bool¶
- getGeometryBindings(materialNode: Node, geom: str = '/') list[MaterialAssign]¶
- getVersionIntegers() tuple[int, int, int]¶
- getVersionString() str¶
- incrementName(arg0: str) str¶
- isValidName(arg0: str) bool¶
- joinStrings(arg0: list[str], arg1: str) str¶
- parentNamePath(arg0: str) str¶
- replaceSubstrings(arg0: str, arg1: dict[str, str]) str¶
- splitNamePath(arg0: str) list[str]¶
- splitString(arg0: str, arg1: str) list[str]¶
- stringEndsWith(arg0: str, arg1: str) bool¶
- stringStartsWith(arg0: str, arg1: str) bool¶
- targetStringsMatch(arg0: str, arg1: str) bool¶
Module source: MaterialX / source / PyMaterialX / PyMaterialXCore /