Beispiel #1
0
 def useSkinClusterInputMesh(self,skinCluster):
     '''
     sets skincluster's input mesh as source mesh
     '''
     skinClusterObject = Utils.getMObjectForNode(skinCluster)
     geomFilter = oma.MFnGeometryFilter(skinClusterObject)
     self.meshMObject = geomFilter.inputShapeAtIndex(0)
Beispiel #2
0
 def useSkinClusterInputMesh(self, skinCluster):
     '''
     sets skincluster's input mesh as source mesh
     '''
     skinClusterObject = Utils.getMObjectForNode(skinCluster)
     geomFilter = oma.MFnGeometryFilter(skinClusterObject)
     self.meshMObject = geomFilter.inputShapeAtIndex(0)
 def setSkinCluster(self,skinClusterName):
     self.skinCluster = skinClusterName
     self.fn = oma.MFnSkinCluster(Utils.getMObjectForNode(skinClusterName))
     return self
Beispiel #4
0
 def setSkinCluster(self, skinClusterName):
     self.skinCluster = skinClusterName
     self.fn = oma.MFnSkinCluster(Utils.getMObjectForNode(skinClusterName))
     return self