MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1091

Director scripting reference
Table of Contents

Advertisement

width (3D)
Usage
member(whichCastmember).modelResource(whichModelResource).width
modelResourceObjectReference.width
Description
3D property; allows you to get or set the width of the plane for a model resource whose type is
or
. This property must be greater than 0.0, and has a default setting of 1.0. For
#box
#plane
objects whose type is
the default setting is 1.0.
Example
This statement sets the width of the model resource Grass plane to 250.0:
member("3D World").modelResource("Grass plane").width = 250.0
widthVertices
Usage
member(whichCastmember).modelResource(whichModelResource).
widthVertices
modelResourceObjectReference.widthVertices
Description
3D property; allows you to get or set the number of vertices (as an integer) on the X axis of a
model resource whose type is
and has a default value of 2.
Example
The following statement sets the
Eighteen polygons (2 * (10-1) triangles) will be used to define the geometry of the model resource
along its x-axis.
member("3D World").modelResource("Tower").widthVertices = 10
wind
Usage
member(whichCastmember).modelResource(whichModelResource).wind
modelResourceObjectReference.wind
Description
3D property; allows you to get or set the
, as a vector.
#particle
This
property defines the direction and strength of the wind force applied to all particles
wind
during each simulation step. The default value for this property is vector(0, 0, 0), which specifies
that no wind is applied.
, the default value of
#box
is measured along the X axis.
width
or
#box
#plane
widthVertices
wind
is 50.0. For objects whose type is
width
. This property must be greater than or equal to 2,
property of the model resource Tower to 10.
property of a model resource whose type is
,
#plane
wind 1091

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents