ModelData:getMeshBlendVertex

Edit

Returns the data for a single vertex in a blend shape. The data represents a displacement of the vertex position, normal, and tangent.

x, y, z, nx, ny, nz, tx, ty, tz = ModelData:getMeshBlendVertex(mesh, blendshape, vertex)

Arguments

NameTypeDescription
meshnumber The index of a mesh.
blendshapenumber The index of a blend shape in the mesh.
vertexnumber The index of a vertex in the mesh.

Returns

NameTypeDescription
xnumber The x displacement of the vertex position.
ynumber The y displacement of the vertex position.
znumber The z displacement of the vertex position.
nxnumber The x displacement of the vertex normal.
nynumber The y displacement of the vertex normal.
nznumber The z displacement of the vertex normal.
txnumber The x displacement of the vertex tangent.
tynumber The y displacement of the vertex tangent.
tznumber The z displacement of the vertex tangent.

See also