MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1045

Director scripting reference
Table of Contents

Advertisement

// JavaScript syntax
put(_player.toolXtraList);
See also
mediaXtraList, Player, scriptingXtraList, transitionXtraList,
(Player)
toon (modifier)
Usage
member(whichCastmember).model(whichModel).toon.toonModifierProperty
Description
3D modifier; once you have added the
modifier properties.
The toon modifier draws a model using only a handful of colors, and resulting in a cartoon style
of rendering of the model's surface. When the
,
texture
reflectionMap
are ignored.
When the
#toon
cumulative and varies depending on which modifier was first applied. The list of modifiers
returned by the
modifier
both. The toon modifier can not be used in conjunction with the
The
modifier has the following properties:
#toon
Note: For more detailed information about the following properties see the individual property
entries.
allows you to get or set the style applied to color transitions. The following are the
style
possible values:
gives sharp transitions between available colors.
#toon
gives smooth transitions between available colors.
#gradient
#blackAndWhite
allows you to get or set the number of different colors used for lighting
colorSteps
calculations. When setting this value it is rounded down to nearest power of 2. Allowed values
are 2, 4, 8, and 16. The default is 2.
shadowPercentage
for lighting used to render the shadowed portion of the model's surface. Possible values range
from 0 to 100. The default is 50.
shadowStrength
of the model's surface. Possible values are any non-negative floating-point number. The default
value is 1.0.
highlightPercentage
lighting (
colorSteps
values range from 0 to 100. The default is 50.
highlightStrength
portion of the model's surface. Possible values are any non-negative floating-point number.
The default value is 1.0.
,
diffuseLightMap
modifier is used in conjunction with the
property will list #inker or #toon (whichever was added first), but not
gives sharp transition between black and white.
allows you to get or set the percentage of the colors (
allows you to get or set the level of darkness applied to the shadowed portion
allows you to get or set the percentage of the colors defined for
) used to render the highlighted portion of the model's surface. Possible
allows you to get or set the level of brightness applied to the highlighted
modifier to a model you can get and set the
#toon
modifier is applied, the model's shader
#toon
,
specularLightMap
#inker
xtraList
, and
properties
glossMap
modifier, the rendered effect is
modifier.
#sds
) defined
colorSteps
toon (modifier) 1045
#toon

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