MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 892

Director scripting reference
Table of Contents

Advertisement

normalList
Usage
member(whichCastmember).modelResource(whichModelResource).\
normalList
model.meshDeform.mesh[index].normalList
Description
3D property; when used with a model resource whose type is
get or set the
normalList
The
normalList
when building the faces of your mesh.
This property must be set to a list of exactly the number of vectors specified in the
call.
newMesh()
Alternately, the
normalList
method of mesh model resources.
In the context of the
vectors from which you may specify vertex normals when deforming your mesh.
For more information on face normals and vertex normals, see the
Example
put member(5,2).modelResource("mesh square").normalList
-- [vector(0,0,1)]
member(2).modelResource("mesh3").normalList[2] = vector\
(205.0000, -300.0000, 27.0000)
See also
face,
meshDeform (modifier)
normals
Usage
member(whichCastmember).modelResource(whichModelResource).\
face[index].normals
Usage
3D face property; for model resources whose type is
this property allows you to get and set the list of normal vectors used by the face specified by the
parameter.
index
Set this property to a linear list of integers corresponding to the index position of each vertex's
normal in the model resource's
This property must be set to the same length as the
empty list [ ].
Do not set any value for this property if you are going to generate normal vectors using the
generateNormals()
If you make changes to this property, or a use the
call the
build()
892
Chapter 14: Properties
property of the model resource.
property is a linear list of vectors from which you may specify vertex normals
property may be generated for you by the
modifier, the
meshDeform
normalList
command.
command in order to rebuild the mesh.
#mesh
property is similarly a linear list of
normalList
(created using the
#mesh
property.
face[index].verticies
generateNormals()
, this property allows you to
generateNormals()
entry.
normals
command)
newMesh
list, or it can be an
command, you need to

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