neighbor
409
See also
addVertex()
,
deleteVertex()
,
originMode
,
vertexList
multiply()
Usage
transform
.multiply(
transform2
)
Description
3D command; applies the positional, rotational, and scaling effects of
transform2
after the
original transform.
Parameters
transform2
Required. Specifies the transform that contains the effects to apply to another
transform.
Example
This statement applies the positional, rotational, and scaling effects of the model Mars’s transform
to the transform of the model Pluto. This has a similar effect as making Mars be Pluto’s parent for
a frame.
member("scene").model("Pluto").transform.multiply(member("scene")\
.model("Mars").transform)
neighbor
Usage
member(
whichCastmember
).model(
whichModel
).meshdeform.mesh[
index
].\
face[
index
].neighbor[
index
]
Description
3D command; meshDeform command that returns a list of lists describing the neighbors of a
particular face of a mesh opposite the face corner specified by the neighbor index
(1,2,3)
. If the
list is empty, the face has no neighbors in that direction. If the list contains more than one list, the
mesh is non-manifold. Usually the list contains a single list of four integer values:
[meshIndex,
faceIndex, vertexIndex, flipped]
.
The value
meshIndex
is the index of the mesh containing the neighbor face. The value
faceIndex
is the index of the neighbor face in that mesh. The value
vertexIndex
is the index of
the nonshared vertices of the neighbor face. The value
flipped
describes whether the face
orientation is the same as
(1)
or opposite
(2)
that of the original face.
Parameters
None.
See also
meshDeform (modifier)
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...