def dm2skin_getMatricesOverRange(joints, matrixString='.worldMatrix', startFrame=0, endFrame=1):
"""Gets a list of lists of transform matrices for the given joints. One
list for each frame between startFrame and endFrame."""
resultList = []
for i in range(startFrame, endFrame + 1):
cmds.currentTime(i)
resultList.append(dm2skin_getMatrices(joints, matrixString=matrixString))
return resultList
评论列表
文章目录