|
|
|
SAA_ctrlVertexGetEnvelopeWeightsSAA_ctrlVertexSetEnvelopeWeightsSets and retrieves the weight values of envelope control vertices. Each control vertex in an envelope is weighted relative to the different elements (joints) in a skeleton. For example, a control vertex assigned to a single joint has a weight value of 100% relative to that joint. A control vertex assigned to two joints may have relative weights of 40% and 60%, 50% and 50%, or any other combination of weight values that adds up to 100%. set scn [SAA_AllocScene] set el_skl [SAA_AllocElem] set el_env [SAA_AllocElem] set ctrlVertices [ SAA_AllocSubElem $nbCtrlVertices] . . . set weights [SAA_AllocFloat $nbCtrlVertices] SAA_ctrlVertexGetEnvelopeWeights $scn $el_skl $el_env $nbCtrlVertices $ctrlVertices $weights SAA_ctrlVertexSetEnvelopeWeights $scn $el_skl $el_env $nbCtrlVertices $ctrlVertices $weights
Return ValueReturn correct usage if incorrect parameters are passed
|
|
copyright Video-Collage Inc. |