colorSteps
Usage
member(whichCastmember).model(whichModel).toon.colorSteps
member(whichCastmember).model(whichModel).shader.colorSteps
member(whichCastmember).shader(whichShader).colorSteps
Description
3D
modifier and
toon
by the
modifier or
toon
set the value of
colorSteps
The default value is 2.
Example
This statement limits the number of colors available for use by the
named Teapot to 8. The teapot will be rendered with a maximum of eight colors.
member("shapes").model("Teapot").toon.colorSteps = 8
See also
highlightPercentage,
commandDown
Usage
-- Lingo syntax
_key.commandDown
// JavaScript syntax
_key.commandDown;
Description
Key property; determines whether the Control key (Windows) or the Command key (Macintosh)
is being pressed. Read-only.
This property returns
returns
.
FALSE
You can use
commandDown
Command key is being pressed in combination with another key. This lets you create handlers
that are executed when the user presses specified Control or Command key combinations.
Control or Command key equivalents for the Director authoring menus take precedence while
the movie is playing, unless you have installed custom Lingo or JavaScript syntax menus or are
playing a projector version of the movie.
shader property; the maximum number of colors available for use
painter
shader. The value of this property can be 2, 4, 8, or 16. If you
painter
to any other number, it will be rounded to one of these.
shadowPercentage
if the Control or Command key is being pressed; otherwise, it
TRUE
together with the
property to determine whether the Control or
key
modifier for the model
toon
commandDown
703
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