MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 477

Table of Contents

Advertisement

Plane properties
Planes are the default Director MX primitive. Planes, whose
generated in the xz plane with Lingo. Plane properties can be modified or animated at runtime.
Property
width
length
length
Vertices
width
Vertices
Mesh generator properties
The mesh generator is the most complex model resource. It allows experienced 3D programmers
to create complicated geometries at runtime.
The mesh generator primitive's
command. The parameters included with that command describe how large the mesh will be.
You can use the mesh deform modifier to manipulate vertex positions at runtime for
other type of model resource. You can also use the
directly, but this is usually not practical, because the mesh must be rebuilt mathematically after
each modification.
Use these properties to work with mesh primitives:
Property
vertexList
normalList
texture
Coordinate
List
texcoordlist
Access
Description
Get and set
Width of the plane
Get and set
Length of the plane
Get and set
Number of vertices along the length of the plane 2 or more. The default
Get and set
Number of vertices along the width of the plane 2 or more. The default
property is
type
Access
Description
Get and set
Lingo vector values for each vertex in the mesh.
Several faces may share a single vertex.
Get and set
Lingo 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
command instead of specifying normals
yourself. In that case, set 0 as the number of
normals in your
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.
property is
type
and is created by the member's
#mesh
primitive to change mesh properties
#mesh
generateNormals()
newMesh()
call. The normals
Working with Models and Model Resources 477
, are
#plane
Value Range
Positive floating-point
value. The default is 1.0.
Positive floating-point
value. The default is 1.0.
is 2.
is 2.
newMesh()
or any
#mesh
Value Range
Set the value to the
number of vectors
specified in your
newMesh
call.
No default. Instead, set
the value to the number
of vectors specified in
newMesh
your
call.
No default. Instead, set
the value to the number
of two-element sublists
specified in your
newMesh
call.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director mx

Table of Contents