type (motion)
Usage
member(whichCastmember).motion(whichMotion).type
Description
3D motion property; the motion type of the referenced motion object. This property's possible
values are:
•
#bonesPlayer
the
#bonesPlayer
•
#keyFramePlayer
of the
#keyFramePlayer
•
indicates that this motion has no mapped movement and it is suitable for use by either
#none
the
#bonesPlayer
found in every 3D cast member is of this type.
Example
The following statement displays the
put member("scene").motion("Run").type
-- #bonesPlayer
The following statement displays the
put member("scene").motion("DefaultMotion").type
-- #none
See also
bonesPlayer
(modifier),
type (shader)
Usage
member(whichCastmember).shader(whichShader).type
Description
3D shader property; the shader type of the referenced shader object. This property's possible
values are:
•
indicates that this is a standard shader.
#standard
•
indicates that this is a painter shader.
#painter
•
#newsprint
•
indicates that this is an engraver shader.
#engraver
Example
This statement shows that the shader used by the model named box2 is a painter shader:
put member("Scene").model("box2").shader.type
-- #painter
See also
newShader
1066
Chapter 14: Properties
indicates that this motion is a bones based animation and it requires the use of
modifier for playback.
indicates that this motion is a keyframed animation and it requires the use
modifier for playback.
or the
#keyFramePlayer
type
type
keyframePlayer (modifier)
indicates that this is a newsprint shader.
modifier for playback. The default motion object
property of the motion named Run.
property of the motion named DefaultMotion.
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers