|
MaterialXLab API
0.0.1
APIs For MaterialXLab Libraries
|
Go to the source code of this file.
Functions | |
| function | updateViewer (parent=null, target) |
| function async | fetchData () |
| function | clearSelection () |
| function | setShadingModel (option) |
| function | selectReference (addToSelection, col, refname) |
| function | displayReferences (filteredTags=null) |
| function | convertToMaterialX (materialNames=[]) |
| function | setupXMLSyntax () |
| function | setupJSONSyntax () |
| function | setupJSONRemappingSyntax () |
| function | startup () |
Variables | |
| const | iframeModal = document.getElementById('iframeModal') |
| const | closeIframeModal = document.getElementById('closeIframeModal') |
| let | messenger = null |
| const | loader = new JsPhysicallyBasedMaterialLoader() |
| let | cmeditor = setupXMLSyntax() |
| let | jsonRemapEditor = setupJSONRemappingSyntax() |
| let | jsoneditor = setupJSONSyntax() |
| let | selected_references = [] |
| window | onload = startup |
| function clearSelection | ( | ) |
Definition at line 47 of file PhysicallyBasedMaterialX.js.
| function convertToMaterialX | ( | materialNames = [] | ) |
Definition at line 177 of file PhysicallyBasedMaterialX.js.
| function displayReferences | ( | filteredTags = null | ) |
Definition at line 82 of file PhysicallyBasedMaterialX.js.
| function async fetchData | ( | ) |
Definition at line 27 of file PhysicallyBasedMaterialX.js.
| function selectReference | ( | addToSelection, | |
| col, | |||
| refname ) |
Definition at line 65 of file PhysicallyBasedMaterialX.js.
| function setShadingModel | ( | option | ) |
Definition at line 56 of file PhysicallyBasedMaterialX.js.
| function setupJSONRemappingSyntax | ( | ) |
Definition at line 256 of file PhysicallyBasedMaterialX.js.
| function setupJSONSyntax | ( | ) |
Definition at line 231 of file PhysicallyBasedMaterialX.js.
| function setupXMLSyntax | ( | ) |
Definition at line 208 of file PhysicallyBasedMaterialX.js.
| function startup | ( | ) |
Definition at line 282 of file PhysicallyBasedMaterialX.js.
| function updateViewer | ( | parent = null, | |
| target ) |
Definition at line 8 of file PhysicallyBasedMaterialX.js.
| const closeIframeModal = document.getElementById('closeIframeModal') |
Definition at line 4 of file PhysicallyBasedMaterialX.js.
| let cmeditor = setupXMLSyntax() |
Definition at line 22 of file PhysicallyBasedMaterialX.js.
| const iframeModal = document.getElementById('iframeModal') |
Definition at line 3 of file PhysicallyBasedMaterialX.js.
| let jsoneditor = setupJSONSyntax() |
Definition at line 24 of file PhysicallyBasedMaterialX.js.
| let jsonRemapEditor = setupJSONRemappingSyntax() |
Definition at line 23 of file PhysicallyBasedMaterialX.js.
| const loader = new JsPhysicallyBasedMaterialLoader() |
Definition at line 19 of file PhysicallyBasedMaterialX.js.
| let messenger = null |
Definition at line 7 of file PhysicallyBasedMaterialX.js.
| window onload = startup |
Definition at line 352 of file PhysicallyBasedMaterialX.js.
| let selected_references = [] |
Definition at line 25 of file PhysicallyBasedMaterialX.js.