User Guide

692
type (model resource)
Syntax
member(whichCastmember).modelResource(whichModelResource).type
Description
3D model resource property; the resource type of the referenced model resource. This property’s
possible values are:
#box indicates that this model resource is a primitive box resource created using the
newModelResource command.
#cylinder indicates that this model resource is a primitive cylinder resource created using the
newModelResource command.
#extruder indicates that this model resource is a primitive text extruder resource created
using the
extrude3d command.
#mesh indicates that this model resource is a primitive mesh generator resource created using
the
newMesh command.
#particle indicates that this model resource is a primitive particle system resource created
using the
newModelResource command.
#plane indicates that this model resource is a primitive plane resource created using the
newModelResource command.
#sphere indicates that this model resource is a primitive sphere resource created using the
newModelResource command.
#fromFile indicates that this model resource was created external to Director and was loaded
from an external file or a cast member.
Example
The following statement displays the type property of the model resource named Helix.
put member("helix models").modelResource("Helix").type
-- #fromFile
See also
newModelResource, newMesh, extrude3D
type (motion)
Syntax
member(whichCastmember).motion(whichMotion).type
Description
3D motion property; the motion type of the referenced motion object. This propertys possible
values are:
#bonesPlayer indicates that this motion is a bones based animation and it requires the use of
the
#bonesPlayer modifier for playback.
#keyFramePlayer indicates that this motion is a keyframed animation and it requires the use
of the
#keyFramePlayer modifier for playback.
#none indicates that this motion has no mapped movement and it is suitable for use by either
the
#bonesPlayer or the #keyFramePlayer modifier for playback. The default motion object
found in every 3D cast member is of this type.