•
allows you to get or set the list of normal vectors used by the specified mesh.
normalList
•
textureCoordinateList
texture layer of the specified mesh. To get or set the texture coordinates for any other texture
layers in the specified mesh, use
meshdeform.mesh[index].texturelayer[index].textureCoordinateList
•
textureLayer[index]
texture layer.
•
face[index]
shaders used by the faces of the specified mesh.
•
allows you to obtain the total number of faces found within the specified mesh.
face.count
Note: For complete information about these properties, see the individual entries (listed in the "See
also" section of this entry).
Parameters
None.
Example
The following Lingo adds the
displays the vertexList for the first mesh in the model named thing1.
member("newAlien").model("thing1").addModifier(#meshDeform)
put member("newalien").model("thing1").meshDeform.mesh[1].vertexList
-- [vector(239.0, -1000.5, 27.4), vector\
(162.5, -1064.7, 29.3), vector(115.3, -1010.8, -40.6),
vector(239.0, -1000.5, 27.4), vector(115.3, -1010.8, -40.6),
vector(162.5, -1064.7, 29.3), vector(359.0, -828.5, -46.3),
vector(309.9, -914.5, -45.3)]
The following statement displays the number of meshes found within the model named
"Aircraft".
put member("world").model("Aircraft").meshDeform.mesh.count
-- 4
See also
meshDeform
(modifier), colorList, textureCoordinateList, textureLayer,
normalList,
vertexList (mesh
meshDeform (modifier)
Usage
member(whichCastmember).model(whichModel).meshDeform.propertyName
Description
3D modifier; allows control over the various aspects of the referenced model's mesh structure.
Once you have added the
you have access to the following properties of the
Note: For more detailed information about the following properties see the individual property entries
referenced in the see also section of this entry.
•
returns the total number of faces in the referenced model.
face.count
•
returns the number of meshes in the referenced model.
mesh.count
allows you to get or set the texture coordinates used by the first
allows you get and set access to the properties of the specified
allows you to get or set the vertices, normals, texture coordinates, colors, and
#meshDeform
deform),
#meshDeform
modifier to the model named thing1 and then
face[ ]
modifier (using the
addModifier
#meshDeform
.
command) to a model
modifier:
meshDeform (modifier)
397
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers