creaseAngle
711
This statement shows that the model named Ear is composed of three meshes.
put member("Scene").model("Ear").meshdeform.mesh.count
-- 3
This statement shows that the first mesh of the model named Ear has two texture layers.
put member("Scene").model("Ear").meshdeform.mesh[1].\
textureLayer.count
-- 2
See also
cameraCount()
cpuHogTicks
Usage
the cpuHogTicks
Description
System property; determines how often Director releases control of the CPU to let the computer
process background events, such as events in other applications, network events, clock updates,
and other keyboard events.
The default value is 20 ticks. To give more time to Director before releasing the CPU to
background events or to control how the computer responds to network operations, set
cpuHogTicks
to a higher value.
To create faster auto-repeating key performance but slower animation, set
cpuHogTicks
to a
lower value. In a movie, when a user holds down a key to generate a rapid sequence of auto-
repeating key presses, Director typically checks for auto-repeating key presses less frequently than
the rate set in the computer’s control panel.
The
cpuHogTicks
property works only on the Macintosh.
Example
This statement tells Director to release control of the CPU every 6 ticks, or every 0.10 of a
second:
the cpuHogTicks = 6
See also
milliseconds
creaseAngle
Usage
member(
whichCastmember
).model(
whichModel
).inker.creaseAngle
member(
whichCastmember
).model(
whichModel
).toon.creaseAngle
Description
3D
inker
and
toon
modifier property; indicates the sensitivity of the line drawing function of
the modifier to the presence of creases in the model’s geometry. Higher settings result in more
lines (detail) drawn at creases.
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...