示例#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()