HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
STY_MaterialProperties Class Reference

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_ConstantMapgetProperties () 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...
 

Detailed Description

Provides values for the properties of materials defined in a style sheet.

Definition at line 21 of file STY_MaterialProperties.h.

Constructor & Destructor Documentation

STY_MaterialProperties::STY_MaterialProperties ( )

Member Function Documentation

const STY_ConstantMap& STY_MaterialProperties::getProperties ( ) const
inline

Represents the material properties object as options.

Definition at line 34 of file STY_MaterialProperties.h.

bool STY_MaterialProperties::isEmpty ( ) const
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.


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