
726
widthVertices
Syntax
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
#box
or
#plane
. This property must be greater than or equal to 2,
and has a default value of 2.
Example
The following statement sets the
widthVertices
property of the model resource Tower to 10.
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
Syntax
member(
whichCastmember
).modelResource(
whichModelResource
).wind
modelResourceObjectReference
.wind
Description
3D property; allows you to get or set the
wind
property of a model resource whose type is
#particle
, as a vector.
This
wind
property defines the direction and strength of the wind force applied to all particles
during each simulation step. The default value for this property is vector(0, 0, 0), which specifies
that no wind is applied.
Example
put member("3D").modelResource("fog bank").wind
-- vector(10.5,0,0)
window
Syntax
window
whichWindow
Description
Keyword; refers to the movie window—a window that contains a Director movie—specified by
whichWindow
.
Windows that play movies are useful for creating floating palettes, separate control panels, and
windows of different shapes. Using windows that play movies, you can have several movies open
at once and allow them to interact.
Examples
This statement opens a window named Navigation:
open window "Navigation"
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...