User Guide
388
Note that if both the toon and inker modifiers are applied to a model, only the first one that was
added to the model is returned.
This property can be tested but not set. Use the
addModifier and removeModifier commands
to add and remove modifiers from models.
Example
This statement shows which modifiers are attached to the model named Juggler:
put member("ParkScene").model("Juggler").modifier
-- [#bonesPlayer, #lod]
See also
modifier[], modifiers, addModifier, removeModifier
modifier[]
Syntax
member(whichCastmember).model(whichModel).modifier[index]
Description
3D model property; returns the type of the modifier found at the position specified by index
within the model’s attached modifier list. The value returned is a symbol.
If no modifier is found at the specified position then this property’s value is void.
To obtain information about a model’s attached modifier list use the
modifier property.
Direct access into an attached modifier’s properties is not supported through the use of
this command.
Example
put member("3d world").model("box").modifier[1]
-- #lod
See also
modifier, modifiers, addModifier, removeModifier
modifiers
Syntax
getRendererServices().modifiers
Description
Global 3D property; returns a list of modifiers available to models within 3D cast members.
Example
This statement returns the list of all currently available modifiers:
put getRendererServices().modifiers
-- [#collision, #bonesPlayer, #keyFramePlayer, #toon, #lod, \
#meshDeform, #sds, #inker]
See also
getRendererServices(), addModifier