def gather_data(self):
"""Gather all the skinCluster data into a dictionary so it can be serialized.
:return: The data dictionary containing all the skinCluster data.
"""
dag_path, components = self.__get_geometry_components()
self.gather_influence_weights(dag_path, components)
self.gather_blend_weights(dag_path, components)
for attr in SkinCluster.attributes:
self.data[attr] = cmds.getAttr('%s.%s' % (self.node, attr))
return self.data
评论列表
文章目录