MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 761

Director scripting reference
Table of Contents

Advertisement

face
Usage
member(whichCastmember).modelResource(whichModelResource).\
face.count
member(whichCastmember).modelResource(whichModelResource).\
face[index].colors
member(whichCastmember).modelResource(whichModelResource).\
face[index].normals
member(whichCastmember).modelResource(whichModelResource).\
face[index].shader
member(whichCastmember).modelResource(whichModelResource).\
face[index].textureCoordinates
member(whichCastmember).modelResource(whichModelResource).\
face[index].vertices
member(whichCastmember).model(whichModel).meshdeform.\
face.count
member(whichCastmember).model(whichModel).meshdeform.\
mesh[index].face.count
member(whichCastmember).model(whichModel).meshdeform.\
mesh[meshIndex].face[faceIndex]
member(whichCastmember).model(whichModel).meshdeform.\
mesh[meshIndex].face[faceIndex].neighbor{[neighborIndex]}
Description
3D
model resource and
#mesh
composed of triangles. Each triangle is a face.
You can access the properties of the faces of model resources whose type is
of these properties do not take effect until you call the
Note: For detailed information about the following properties, see the individual property entries.
indicates the number of triangles in the mesh.
count
indicates which indices in the color list of the model resource to use for each of the
colors
vertices of the face.
indicates which indices in the normal list of the model resource to use for each of the
normals
vertices of the face.
shadowPercentage
textureCoordinates
resource to use for each of the vertices of the face.
indicates which indices in the vertex list of the model resource to use to define
vertices
the face.
See the entry for
See also
build(), newMesh,
meshdeform
identifies the shader used when the face is rendered.
indicates which indices in the texture coordinate list of the model
for descriptions of its face properties.
meshDeform
meshDeform (modifier)
modifier property. All model resources are meshes
command.
build()
. Changes to any
#mesh
face
761

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents