EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 867

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
mostRecentCuePoint 867
modifier[]
Usage
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
Usage
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
mostRecentCuePoint
Usage
-- Lingo syntax
spriteObjRef.mostRecentCuePoint
// JavaScript syntax
spriteObjRef.mostRecentCuePoint;