Beispiel #1
0
	def get_params(self):
		params = ParamSet()

		params.add_string('filename', efutil.path_relative_to_export(self.filename)) \
			  .add_string('filterType', self.filterType) \
			  .add_float('maxAnisotropy', self.maxAnisotropy) \
			  .add_string('wrapMode', self.wrapMode) \
			  .add_float('gamma', -1 if self.srgb else self.gamma)

		return params
Beispiel #2
0
	def get_params(self):
		params = ParamSet()

		params.add_string('filename', efutil.path_relative_to_export(self.filename)) \
			  .add_string('filterType', self.filterType) \
			  .add_float('maxAnisotropy', self.maxAnisotropy) \
			  .add_string('wrapMode', self.wrapMode) \
			  .add_float('gamma', -1 if self.srgb else self.gamma)

		return params