644
subdivision
Syntax
member(
whichCastmember
).model(
whichModel
).sds.subdivision
Description
3D
sds
modifier property; allows you to get or set the subdivision surfaces mode of operation.
Possible values are as follows:
•
#uniform
specifies that the mesh is uniformly scaled up in detail, with each face subdivided the
same number of times.
•
#adaptive
specifies that additional detail is added only when there are large surface orientation
changes and only to those areas of the mesh that are currently visible.
The
sds
modifier cannot be used with the
inker
or
toon
modifiers, and caution should be used
when using the
sds
modifier with the
lod
modifier. See the
sds
modifier entry for more
information.
Example
The following statement sets the
subdivision
property of the
sds
modifier of the model named
Baby to
#adaptive
. Baby’s geometry will not be modified uniformly.
member("Scene").model("Baby").sds.subdivision = #adaptive
See also
sds (modifier)
,
error
,
enabled (sds)
,
depth (3D)
,
tension
substituteFont
Syntax
TextMemberRef.substituteFont(
originalFont
,
newFont
)
substituteFont(
textMemberRef, originalFont, newFont
)
Description
Text cast member command; replaces all instances of
originalFont
with
newFont
in
textMemberRef
.
Example
This script checks to see if the font Bonneville is available in a text cast member, and replaces it
with Arial if it is not:
property spriteNum
on beginSprite me
currMember = sprite(spriteNum).member
if currMember.missingFonts contains "Bonneville" then
currMember.substituteFont("Bonneville", "Arial")
end if
end
See also
missingFonts
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...