3D Lingo Dictionary > A-B > addModifier |  |

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`