shiftDown
989
shadowStrength
Usage
member(
whichCastmember
).model(
whichModel
).toon.shadowStrength
member(
whichCastmember
).model(
whichModel
).shader.shadowStrength
member(
whichCastmember
).shader(
whichShader
).shadowStrength
Description
3D
toon
modifier and
#painter
shader property; indicates the brightness of the area of the
model’s surface where light does not create highlights.
The default value of this property is 1.0.
Example
The following statement sets the
shadowStrength
property of the
toon
modifier for the model
named Sphere to 0.1. The area of the model’s surface that is not highlighted will be very dark.
member("Shapes").model("Sphere").toon.shadowStrength = 0.1
shapeType
Usage
member(
whichCastMember
).shapeType
the shapeType of member
whichCastMember
Description
Shape cast member property; indicates the specified shape’s type. Possible types are
#rect
,
#roundRect
,
#oval
, and
#line
. You can use this property to specify a shape cast member’s type
after creating the shape cast member using Lingo.
Example
These statements create a new shape cast member numbered 100 and then define it as an oval:
new(#shape, member 100)
member(100).shapeType = #oval
shiftDown
Syntax
-- Lingo syntax
_key.shiftDown
// JavaScript syntax
_key.shiftDown;
Description
Key property; indicates whether the user is pressing the Shift key. Read-only.
This property returns
TRUE
if the user is pressing the Shift key; otherwise, it returns
FALSE
.
This property must be tested in conjunction with another key.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...