376
meshDeform (modifier)
Syntax
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.
Examples
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
Syntax
the milliseconds
Description
System property; returns the current time in milliseconds (1/1000 of a second). Counting begins
from the time the computer is started.
Examples
This statement converts milliseconds to seconds and minutes by dividing the number of
milliseconds by 1000 and dividing that result by 60, and then sets the variable
currentMinutes
to the result:
currentSeconds = milliseconds/1000
currentMinutes = currentseconds/60
The resolution accuracy of the count is machine and operating system dependent.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...