depth (Bitmap)
729
depth (3D)
Usage
member(
whichCastmember
).model(
whichModel
).sds.depth
Description
3D subdivision surfaces (
sds
) modifier property; specifies the maximum number of levels of
resolution that the model can display when using the
sds
modifier.
If the
sds
modifier’s
error
and
tension
settings are low, increasing the
depth
property will have
a more pronounced effect on the model’s geometry.
The
sds
modifier cannot be used with the
inker
or
toon
modifiers, and you should be careful
when using the
sds
modifier with the
lod
modifier.
Example
This statement sets the
depth
property of the
sds
modifier for the model named Baby to 3. If the
sds
modifier’s
error
and
tension
settings are low, this will cause a very pronounced effect on
Baby’s geometry.
member("Scene").model("Baby").sds.depth = 3
See also
sds (modifier)
,
error
,
tension
depth (Bitmap)
Usage
imageObject
.depth
member(
whichCastMember
)
.
depth
the depth of member
whichCastMember
Description
Image object or bitmap cast member property; displays the color depth of the given image object
or bitmap cast member.
This property can be tested but not set.
Example
This statement displays the color depth of the image object stored in the variable newImage. The
output appears in the Message window.
-- Lingo syntax
put(newImage.depth)
Depth
Number of Colors
1
Black and white
2
4 colors
4, 8
16 or 256 palette-based colors, or gray levels
16
Thousands of colors
32
Millions of colors
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...