Modifier
From Director Online Wiki
3D modifiers control how a model is rendered or how it animates.:
- bonesPlayer
- collision
- inker
- keyFramePlayer
- lod (Level Of Detail)
- meshDeform
- sds (Subdivision Surfaces)
- toon (Cartoon appearance)
===Keywords used with all modifiers
Returns a list of all modifiers available through the video card
member(whichCastMember). model(whichModel).addModifier(#modifierType)
Adds a given modifier to a given model
member(whichCastMember). model(whichModel).addModifier(#modifierType)
Removes a given modifier from a given model
member(whichCastMember). model(whichModel).removeModifier(#modifierType)
- modifier
Returns a linear list of modifiers attached to a given model
vModifierList = model(whichModel).modifier put vModifierList -- [#bonesPlayer, #lod]
Returns the number of modifiers attached to a given model
vModifierCount = model(whichModel).modifier.count
- modifier[]
Returns the symbol name of the modifier attached to a given model at a given position
vNthModifier = model(whichModel).modifier[n]