HDK
|
Provides values for the properties of materials defined in a style sheet. More...
#include <STY_MaterialProperties.h>
Public Member Functions | |
STY_MaterialProperties () | |
void | loadStyleSheetMaterialProperties (const UT_JSONValue *json) |
Loads the material properties from json value. More... | |
bool | isEmpty () const |
Checks if there are any properties for the material. More... | |
const STY_ConstantMap & | getProperties () const |
Represents the material properties object as options. More... | |
void | saveStyleSheet (UT_JSONValueMap *map) const |
Save these material properties as JSON to a style sheet. More... | |
Provides values for the properties of materials defined in a style sheet.
Definition at line 21 of file STY_MaterialProperties.h.
STY_MaterialProperties::STY_MaterialProperties | ( | ) |
|
inline |
Represents the material properties object as options.
Definition at line 34 of file STY_MaterialProperties.h.
|
inline |
Checks if there are any properties for the material.
Definition at line 30 of file STY_MaterialProperties.h.
void STY_MaterialProperties::loadStyleSheetMaterialProperties | ( | const UT_JSONValue * | json | ) |
Loads the material properties from json value.
void STY_MaterialProperties::saveStyleSheet | ( | UT_JSONValueMap * | map | ) | const |
Save these material properties as JSON to a style sheet.