
Lingo Dictionary
63
Examples
This statement adds the model named Tire to the list of children of the model named Car.
member("3D").model("Car").addChild(member("3D").model("Tire"))
This statement adds the model named Bird to the list of children of the camera named
MyCamera and uses the
#preserveWorld
argument to maintain Bird’s world position.
member("3D").camera("MyCamera").addChild(member("3D").model
("Bird"), #preserveWorld)
See also
parent
,
addToWorld
,
removeFromWorld
addModifier
Syntax
member(
whichCastmember
).model(
whichModel
).addModifier\
(
#modifierType
)
Description
3D model command; adds the specified modifier to the model. Possible modifiers are as follows:
•
#bonesPlayer
•
#collision
•
#inker
•
#keyframePlayer
•
#lod
(level of detail)
•
#meshDeform
•
#sds
•
#toon
There is no default value for this command.
For more detailed information about each modifier, see the individual modifier entries.
Example
This statement adds the toon modifier to the model named Box.
member("shapes").model("Box").addModifier(#toon)
See also
bonesPlayer (modifier)
,
collision (modifier)
,
inker (modifier)
,
keyframePlayer
(modifier)
,
lod (modifier)
,
meshDeform (modifier)
,
sds (modifier)
,
toon (modifier)
,
getRendererServices()
,
removeModifier
,
modifier
,
modifier[]
,
modifiers
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...