def __getattr__(self, key):
		return material.settings(self.name)[key]
Exemple #2
0
	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()
Exemple #4
0
	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()