3D Lingo Dictionary > T-Z > vertexList (mesh deform) |  |

vertexList (mesh deform)

Syntax

    member(whichCastmember).model(whichModel).meshDeform.mesh[index].vertexList

Description

3D property; when used with a model with the `#meshDeform` modifier attached, it allows you to get or set the `vertexList` property for the specified mesh within the referenced model.

The `vertexList` is a linear list of each vertex used in the specified mesh. A single vertex may be shared by numerous faces of the mesh.

If a model makes use of the`#sds` or `#lod` modifiers in addition to the `#meshDeform` modifier, then it is important to know that the value of this property will change under the influence of the `#sds` or `#lod` modifiers.

Example

This statement displays the `#meshDeform` modifier's `vertexList` for the first mesh in the model named Triangle.

    put member("Shapes").model("Triangle").meshDeform.mesh[1].vertexList
    -- [vector(0,0,0), vector(20,0,0), vector(20, 20, 0)]

See also

`face`, `vertices`, `mesh (property)`