What's New in Director 8.5 > Working with Models and Model Resources > Animation modifiers > Mesh deform modifier properties |
![]() ![]() ![]() |
Mesh deform modifier properties
The mesh deform modifier lets you alter an existing model resource's geometry at run time. You can create twist, bend, and ripple effects. Unlike other modifiers, the mesh deform modifier directly affects model resources as well as the models that use those resources. For example, if three car models share the same model resource, adding this modifier to one model and then deforming it will deform all the car models.
The mesh deform modifier is complex and is primarily useful for users with a thorough understanding of 3D geometry. However, you can take advantage of much of the modifier's potential by using only the vertexList property.
Use these properties to work with the mesh deform modifier:
Property |
Access |
Description |
---|---|---|
|
Get |
Returns the number of meshes in a model. |
|
Get and set |
Returns a list of the vertices for the specified mesh. To modify the vertices in this mesh, set this property to a list of modified vertex positions, or modify individual vertices using bracket analysis. |
|
Get and set |
Returns a list of the normals for the specified mesh. |
|
Get and set |
Returns a list of the texture coordinates for the specified mesh. |
|
Get |
Returns the number of triangular faces in a given mesh. |
|
Get |
Returns a list of three indexes into the vertex, normal, texture coordinate, and color lists. These indexes correspond to the corners of the face for the specified mesh. |
|
Get |
Returns a list of lists describing the neighbors of a particular face of a mesh opposite the face corner specified by the neighbor index |
|
Get |
Returns the total number of faces in the model, which is equivalent to the sum of all the |
![]() ![]() ![]() |