![MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference Download Page 858](http://html1.mh-extra.com/html/macromedia/director-mx-2004-director-scripting/director-mx-2004-director-scripting_reference_3321720858.webp)
858
Chapter 14: Properties
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
#meshDeform
modifier (using the
addModifier
command) to a model
you have access to the following properties of the
#meshDeform
modifier:
Note:
For more detailed information about the following properties see the individual property entries
referenced in the see also section of this entry.
•
face.count
returns the total number of faces in the referenced model.
•
mesh.count
returns the number of meshes in the referenced model.
•
mesh[index]
allows access to the properties of the specified mesh.
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)
,
addModifier
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.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...