예제 #1
0
	def __getattr__(self, key):
		return material.settings(self.name)[key]
예제 #2
0
파일: Material.py 프로젝트: widVE/VMD
	def __getattr__(self, key):
		return material.settings(self.name)[key]
예제 #3
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()
예제 #4
0
파일: Material.py 프로젝트: widVE/VMD
	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()