712
Chapter 14: Properties
The
creases
property of the modifier must be set to
TRUE
for the
creaseAngle
property to
have an effect.
CreaseAngle
has a range of -1.0 to +1.0. The default setting is 0.01.
Example
This statement sets the
creaseAngle
property of the
inker
modifier applied to the model named
Teapot to 0.10. A line will be drawn at all creases in the model that exceed this threshold. This
setting will only take effect if the
inker
modifier’s
creases
property is set to
TRUE
.
member("shapes").model("Teapot").inker.creaseAngle = 0.10
See also
creases
,
lineColor
,
lineOffset
,
useLineOffset
creases
Usage
member(
whichCastmember
).model(
whichModel
).inker.creases
member(
whichCastmember
).model(
whichModel
).toon.creases
Description
3D
toon
and
inker
modifier property; determines whether lines are drawn at creases in the
surface of the model.
The default setting for this property is
TRUE
.
Example
This statement sets the
creases
property of the
inker
modifier for the model named Teapot to
TRUE
. A line will be drawn on all creases in the model that exceed the threshold set by the
inker
modifier’s
creaseAngle
property.
member("shapes").model("Teapot").inker.creases = TRUE
See also
creaseAngle
,
lineColor
,
lineOffset
,
useLineOffset
creationDate
Usage
-- Lingo syntax
memberObjRef
.creationDate
// JavaScript syntax
memberObjRef
.creationDate;
Description
Member property; records the date that the cast member was first created by using the system date
on the computer. Read-only.
You can use this property to schedule a project; Director does not use it for anything.
Summary of Contents for DIRECTOR MX 2004
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...