MaterialXLab API
0.0.1
APIs For MaterialXLab Libraries
|
Class which will create a MaterialX definition from a node graph. More...
Public Member Functions | |
constructor (compoundGraph) | |
Constructor. | |
getDefaultOptions () | |
Get the default options for definition creation. | |
sanitizeXMLString (docString) | |
Sanitize a string to be safe to use with XML / HTML. | |
setOptions (new_options) | |
Set the options for definition creation. | |
execute () | |
Create a new definition. | |
Class which will create a MaterialX definition from a node graph.
Definition at line 710 of file JsMaterialXGraph.js.
MxDefinitionCreator::constructor | ( | compoundGraph | ) |
Constructor.
Definition at line 715 of file JsMaterialXGraph.js.
MxDefinitionCreator::execute | ( | ) |
Create a new definition.
Definition at line 789 of file JsMaterialXGraph.js.
MxDefinitionCreator::getDefaultOptions | ( | ) |
Get the default options for definition creation.
Definition at line 734 of file JsMaterialXGraph.js.
MxDefinitionCreator::sanitizeXMLString | ( | docString | ) |
Sanitize a string to be safe to use with XML / HTML.
docString | Original string |
Definition at line 753 of file JsMaterialXGraph.js.
MxDefinitionCreator::setOptions | ( | new_options | ) |
Set the options for definition creation.
new_options | Options to set |
Definition at line 774 of file JsMaterialXGraph.js.