Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseshapeIndex | The shape index of the frame. |
frameIndex | The frame index to get the weight from. |
deltaVertices | Delta vertices output array for the frame being retreived. |
deltaNormals | Delta normals output array for the frame being retreived. |
deltaTangents | Delta tangents output array for the frame being retreived. |
Retreives deltaVertices
, deltaNormals
and deltaTangents
of a blend shape frame.
deltaVetrices
, deltaNormals
and deltaTangents
arrays must be of size = Mesh.vertexCount. Add Mesh vertices, normals or tangents to convert from frame deltas to full vectors. deltaNormals
or deltaTangents
may be set to null if there is no normals or tangents to be retreived for a frame.