MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1079

Director scripting reference
Table of Contents

Advertisement

vertices
Usage
member(whichCastmember).modelResource(whichModelResource).\
face[faceIndex].vertices
Description
3D face property; when used with a model resource whose type is
to get or set which vertices from the resource's
specified by
faceIndex
This property is a linear list of three integers corresponding to the index positions of the three
vertices, as found in the mesh's
The vertices must be specified in the list using counterclockwise winding in order to achieve an
outward pointing surface normal.
If you make changes to this property or use the
call the
build()
Example
This example displays the
displays the
vertices
put member("3D").modelResource("SimpleSquare").vertexList
-- [vector( 0.0000, 0.0000, 0.0000), vector( 0.0000, 5.0000, \
0.0000), vector( 5.0000, 0.0000, 0.0000), vector( 5.0000, \
5.0000, 0.0000)]
put member("3D").modelResource("SimpleSquare").face[1].vertices
-- [3, 4, 1]
See also
face,
vertexList (mesh
video (QuickTime, AVI)
Usage
member(whichCastMember).video
the video of member whichCastMember
Description
Digital video cast member property; determines whether the graphic image of the specified digital
video cast member plays (
Only the visual element of the digital video cast member is affected. For example, when
set to
, the digital video's soundtrack, if present, continues to play.
FALSE
Example
This statement turns off the video associated with the cast member Interview:
member("Interview").video = FALSE
See also
setTrackEnabled(),
.
vertexList
command in order to rebuild the mesh.
vertexList
property for the second face of that mesh:
deform),
or 1) or not (
TRUE
trackEnabled
property to use for the mesh face
vertexList
property, that comprise the specified face.
generateNormals()
of the mesh model resource named SimpleSquare, then it
generateNormals()
or 0).
FALSE
, this property allows you
#mesh
command, you will need to
video (QuickTime, AVI) 1079
is
video

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