MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual page 340

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Use these properties to work with mesh primitives:
Property
vertexList
normalList
texture
Coordinate
List
texcoordlist
colorList
face.count
face[index].ve
rtices
340
Chapter 16: Working with Models and Model Resources
Access
Description
Get and set
Vector values for each vertex in the mesh.
Several faces may share a single vertex.
Get and set
Vector values for each normal in the
mesh. Several faces may share a single
normal. A normalized vector is one in
which all components are of unit length.
You can use the
method instead of specifying normals
yourself. In that case, set 0 as the number
of normals in your
normals are calculated based on a
clockwise vertex winding. That is to say, if
you imagine the vertices being wound
down a spindle, they would be wound
from left to right, in a clockwise manner.
Get and set
A list of sublists identifying locations in an
image used for texture-mapping a
triangle. Each sublist contains two values
between 0.0 and 1.0 that define a
location and can be arbitrarily scaled to
any texture size.
Get and set
List identifying every color in the
mesh. Any color can be shared by several
faces.
Alternatively, specify texture coordinates
for the mesh faces and apply a shader to
models using this model resource.
Get
Number of triangles in the mesh.
Get and set
List indicating which vertices to use for
faces at designated index points.
generateNormals()
call. The
newMesh()
Value Range
Set the value to the
number of vectors
specified in your
call.
newMesh
No default. Instead,
set the value to the
number of vectors
specified in your
call.
newMesh
No default. Instead,
set the value to the
number of two-
element sublists
specified in your
call.
newMesh
No default. Instead,
set the value to the
number of colors
specified in your
call.
newMesh
The number of faces
specified in your
call.
newMesh
Set the value to a list
of three integers
specifying the indexes
of the vertices in the
that define
vertexList
this face.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents