MaterialXJSON 1.39.0
Loading...
Searching...
No Matches
materialxjson.core.JsonReadOptions Class Reference

Class for holding options for reading MaterialX from JSON. More...

Public Member Functions

 __init__ (self)
 Constructor.
 

Public Attributes

bool upgradeVersion = True
 

Detailed Description

Class for holding options for reading MaterialX from JSON.

Options:

  • upgradeVersion: Upgrade the MaterialX document to the latest version

Definition at line 50 of file core.py.

Constructor & Destructor Documentation

◆ __init__()

materialxjson.core.JsonReadOptions.__init__ ( self)

Constructor.

Definition at line 57 of file core.py.

57 def __init__(self):
58 '''
59 @brief Constructor
60 '''
61 self.upgradeVersion = True
62

Member Data Documentation

◆ upgradeVersion

bool materialxjson.core.JsonReadOptions.upgradeVersion = True

Definition at line 61 of file core.py.


The documentation for this class was generated from the following file: