User Guide
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.