3D Lingo Dictionary > L-N > modifier

 

modifier

Syntax

member(whichCastmember).model(whichModel).modifier
member(whichCastmember).model(whichModel).modifier.count

Description

3D model property; returns a list of modifiers that are attached to the specified model. As modifier.count, the command returns the number of modifiers attached to the model.

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