MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 793

Director scripting reference
Table of Contents

Advertisement

glossMap
Usage
member(whichCastmember).shader(whichShader).glossMap
member(whichCastmember).model(whichModel).shader.glossMap
member(whichCastmember).model(whichModel).shaderList{[index]}.\
glossMap
Description
3D
shader property; specifies the texture to use for gloss mapping.
#standard
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]
The value of
blendFunctionList[4]
Example
This statement sets the texture named Oval as the
model named GlassBox:
member("3DPlanet").model("GlassBox").shader.glossMap = \
member("3DPlanet").texture("Oval")
See also
blendFunctionList, textureModeList, region, specularLightMap,
gravity
Usage
member(whichCastmember).modelResource(whichModelResource).gravity
Description
3D particle model resource property; when used with a model resource whose type is
allows you to get or set the
This property defines the gravity force applied to all particles in each simulation step.
The default value for this property is
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
is set to
#none
is set to
property of the resource as a vector.
gravity
vector(0,0,0)
.
.
#multiply
value for the shader used by the
glossMap
.
diffuseLightMap
,
#particle
gravity
793

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?

This manual is also suitable for:

Director mx 2004

Table of Contents