Votes
1
Product:
iClone 7
Version:
7.4
Status:
Active
Issue 5600
Need new material functions
Since there are functions to Add keys to a material component we also need functions to Remove keys.

Example:
Have: def RLPy.RIMaterialComponent.AddDiffuseKey(self, kTime, strMeshName, strMaterialName, kColor)

Need: def RLPy.RIMaterialComponent.RemoveKey (self, kTime, strMeshName, strMaterialName)
Need: def RLPy.RIMaterialComponent.RemoveAll (self, strMeshName, strMaterialName)

Also need to be able to add transitions curve presets to material keys.
Need: def RLPy.RIMaterialComponent.AddTransistion(self, kTime, strMeshName, strMaterialName, kTransistion)

Also need to be able to get a list of keys:
Need: def RLPy.RIMaterialComponent.GetKeys(self, strMeshName, strMaterialName) # returns a list of kTimes where keys exist.

The remove key and get keys is probably applicable to other areas as well.
OS: Windows 7
  •  0
  •  859
Submitted byjlittle
COMMENTS (0)