QuiltiX Plugins 0.0.1
Custom Plugins for QuiltiX
|
Custom web engine page for the glTF viewer. More...
Public Member Functions | |
__init__ (self, parent=None) | |
Initialize the custom web engine page. | |
setDebug (self, debug) | |
Set the debug flag. | |
javaScriptConsoleMessage (self, level, message, lineNumber, sourceID) | |
Handle JavaScript console messages. | |
injectJavaScript (self) | |
Add interestCohort function to the document to disable FLoC. | |
load_glb (self, glb_file_path) | |
Public Attributes | |
bool | debug = False |
Custom web engine page for the glTF viewer.
Definition at line 97 of file materialxgltf/plugin.py.
plugin.glTFEnginePage.__init__ | ( | self, | |
parent = None ) |
Initialize the custom web engine page.
parent | The parent widget |
Definition at line 101 of file materialxgltf/plugin.py.
plugin.glTFEnginePage.injectJavaScript | ( | self | ) |
Add interestCohort function to the document to disable FLoC.
Definition at line 123 of file materialxgltf/plugin.py.
plugin.glTFEnginePage.javaScriptConsoleMessage | ( | self, | |
level, | |||
message, | |||
lineNumber, | |||
sourceID ) |
Handle JavaScript console messages.
Definition at line 116 of file materialxgltf/plugin.py.
plugin.glTFEnginePage.load_glb | ( | self, | |
glb_file_path ) |
Definition at line 134 of file materialxgltf/plugin.py.
plugin.glTFEnginePage.setDebug | ( | self, | |
debug ) |
Set the debug flag.
debug | The debug flag |
Definition at line 109 of file materialxgltf/plugin.py.
bool plugin.glTFEnginePage.debug = False |
Definition at line 107 of file materialxgltf/plugin.py.