Articles Archive
Director Forums
Director Wiki
Job Board
Search
 
 Director Online WikiMain Page | About | Help | FAQ | Special pages | Log in | Printable version | Disclaimers

Modifier

From Director Online Wiki

3D modifiers control how a model is rendered or how it animates.:

===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]

Retrieved from "http://www.director-online.com/dougwiki/index.php/Modifier"

This page has been accessed 1585 times. This page was last modified 08:52, 6 Jun 2005.