MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 478

Table of Contents

Advertisement

Property
colorList
face.count
face[
].v
index
ertices
face[
].
index
normals
face
[
].
index
textureCoord
inates
face[
].
index
texcoords
face[
].
index
colors
face[
].
index
shader
478
Chapter 19
Access
Description
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.
Get and set
List indicating which normals to use for faces at
designated index points.
Get and set
List indicating which texture coordinates to use
for faces at designated index points.
Get and set
List indicating which colors to use for faces at
designated index points.
Get and set
Shader used for rendering the face.
Value Range
No default. Instead, set
the value to the number
of colors specified in your
newMesh
call.
The number of faces
specified in your
newMesh
call.
Set the value to a list of
three integers specifying
the indexes of the
vertices in the
vertexList
that
define this face.
Set the value to a list of
three integers specifying
the indexes of the
normals in the
normalList
that each
point of the triangle
should use. Don't set a
value if you aren't
defining your own
normals.
Set the value to a list of
three integers specifying
the indexes of the texture
coordinates in the
textureCoordinate
s
List that each point of
the triangle should use.
Don't set a value if you
aren't defining your own
texture coordinates.
Set the value to a list of
three integers specifying
the indexes of the colors
in the colorList that each
point of the triangle
should use.
Don't set a value if you
aren't defining your own
colors.
Shader defined for use
with this face.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents