User Guide
708
Example
This statement displays the vertextList value for an arched line with two vertices:
put member("Archie").vertexList
-- [[#vertex: point(-66.0000, 37.0000), #handle1: point(-70.0000, -36.0000),
\
#handle2: point(-62.0000, 110.0000)], [#vertex: point(66.0000, -5.0000), \
#handle1: point(121.0000, 56.0000), #handle2: point(11.0000, -66.0000)]]
See also
addVertex, count(), deleteVertex(), moveVertex(), moveVertexHandle(), originMode,
vertex
vertexList (mesh generator)
Syntax
member(whichCastmember).modelResource(whichModelResource).vertexList
Description
3D property; when used with a model resource whose type is #mesh, allows you to get or set the
vertexList property for the model resource.
The
vertexList is a linear list of each vertex used in the mesh. A single vertex may be shared by
numerous faces of the mesh. You can specify a list of any size for this property, but it will store
only the number of items specified when using the
newMesh() command to create the #mesh
model resource.
Example
This statement sets the vertexList of the model resource named Triangle:
member("Shapes").modelResource("Triangle").vertexList = \
[vector(0,0,0), vector(20,0,0), vector(20, 20, 0)]
See also
newMesh, face, vertices
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.