504
Chapter 12: Methods
Example
This command removes the model named gbCyl from the 3D world of the cast member
named Scene:
member("Scene").model("gbCyl").removeFromWorld()
removeLast()
member(
whichCastmember
).model(
whichModel
).bonesPlayer.removeLast()
member(
whichCastmember
).model(
whichModel
).keyframePlayer.\
removeLast()
Description
3D
keyframePlayer
and
bonesPlayer
modifier command; removes the last motion from the
modifier’s
playlist
.
Parameters
None.
Example
This statement removes the last motion from the playlist of the
bonesPlayer
modifier for the
model named Walker:
member("MyWorld").model("Walker").bonesPlayer.removelast()
removeModifier
Usage
member(
whichCastmember
).model(
whichModel
).removeModifier.\
(
#whichModifier
)
Description
3D command; removes the specified modifier from the specified model.
This command returns
TRUE
if it completes successfully, and
FALSE
if
#whichModifier
is not a
valid modifier, or if the modifier was not attached to the model.
Parameters
whichModifier
Required. Specifies the modifier to remove.
Example
This statement removes the
#toon
modifier from the model named Box:
member("shapes").model("Box").removeModifier(#toon)
See also
addModifier
,
modifier
,
modifier[]
,
modifiers
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...