def __getattr__(self, key): return material.settings(self.name)[key]
def properties(self): """ Returns a list of the setable material properties. Get/set these properties as attributes of the Material instance to change the properties of the material.""" return material.settings(self.name).keys()