280
When you set this property, the following properties are automatically set:
•
The fourth texture layer of the shader is set to the texture you specified.
•
The value of
textureModeList[4]
is set to
#none
.
•
The value of
blendFunctionList[4]
is set to
#multiply
.
Example
This statement sets the texture named Oval as the
glossMap
value for the shader used by the
model named GlassBox:
member("3DPlanet").model("GlassBox").shader.glossMap = \
member("3DPlanet").texture("Oval")
See also
blendFunctionList
,
textureModeList
,
region
,
specularLightMap
,
diffuseLightMap
gravity
Syntax
member(
whichCastmember
).modelResource(
whichModelResource
).gravity
Description
3D particle model resource property; when used with a model resource whose type is
#particle
,
allows you to get or set the
gravity
property of the resource as a vector.
This property defines the gravity force applied to all particles in each simulation step.
The default value for this property is
vector(0,0,0)
.
Example
In this example, ThermoSystem is a model resource of the type #particle. This statement sets the
gravity property of ThermoSystem to the vector (0, -.1, 0), which pulls the particles of
thermoSystem gently down the y axis.
member("Fires").modelResource("ThermoSystem").gravity = \
vector(0, -.1, 0)
See also
drag
,
wind
go
Syntax
go {to} {frame}
whichFrame
go {to} movie
whichMovie
go {to} {frame} whichFrame of movie
whichMovie
Description
Command; causes the playhead to branch to the frame specified by
whichFrame
in the movie
specified by
whichMovie
. The expression
whichFrame
can be a marker label or an integer frame
number. The expression
whichMovie
must specify a movie file. (If the movie is in another folder,
whichMovie
must specify the path.)
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...