MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 858

Director scripting reference
Table of Contents

Advertisement

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
mesh[index]
Example
The following statement displays the number of faces in the model named gbFace:
put member("3D World").model("gbFace").meshDeform.face.count
-- 432
The following statement displays the number of meshes in the model named gbFace:
put member("3D World").model("gbFace").meshDeform.mesh.count
-- 2
The following statement displays the number of faces in the second mesh of the model
named gbFace:
put member("3D World").model("gbFace").meshDeform.mesh[2].face.count
-- 204
See also
mesh
(property),
milliseconds
Usage
-- Lingo syntax
_system.milliseconds
// JavaScript syntax
_system.milliseconds;
Description
System property; returns the current time in milliseconds (1/1000 of a second). Read-only.
Counting begins from the time the computer is started.
858
Chapter 14: Properties
#meshDeform
allows access to the properties of the specified mesh.
addModifier
modifier (using the
addModifier
#meshDeform
command) to a model
modifier:

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Director mx 2004

Table of Contents