MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 797

Director scripting reference
Table of Contents

Advertisement

Example
The following statement sets the
to 10. Nine polygons will be used to define the geometry of the model resource along its Z axis;
therefore, there will be ten vertices.
member("3D World").modelResource("Tower").heightVertices = 10
See also
height (3D)
highlightPercentage
Usage
member(whichCastmember).model(whichModel).toon.highlightPercentage
member(whichCastmember).model(whichModel).shader.highlight\
Percentage
member(whichCastmember).shader(whichShader).highlightPercentage
Description
3D
modifier and
toon
are used in the area of the model's surface where light creates highlights.
The range of this property is 0 to 100, and the default value is 50.
The number of colors used by the
by the
colorSteps
Example
The following statement sets the
model named Sphere to 50. Half of the colors available to the
be used for the highlight area of the model's surface.
member("shapes").model("Sphere").toon.highlightPercentage = 50
See also
highlightStrength,
highlightStrength
Usage
member(whichCastmember).model(whichModel).toon.highlightStrength
member(whichCastmember).model(whichModel).shader.highlightStrength
member(whichCastmember).shader(whichShader).highlightStrength
Description
3D
modifier and
toon
model's surface where light creates highlights.
The default value of this property is 1.0.
heightVertices
shader property; indicates the percentage of available colors that
#painter
modifier and
toon
property of the model's
highlightPercentage
brightness
shader property; indicates the brightness of the area of the
#painter
property of the model resource named Tower
shader for a model is determined
#painter
modifier or
toon
#painter
property of the
toon
shader.
modifier for the
toon
modifier for this model will
highlightStrength
797

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

This manual is also suitable for:

Director mx 2004

Table of Contents