412
multiply()
Syntax
transform
.multiply(
transform2
)
Description
3D command; applies the positional, rotational, and scaling effects of
transform2
after the
original transform.
Example
This statement applies the positional, rotational, and scaling effects of the model Mars’s transform
to the transform of the model Pluto. This has a similar effect as making Mars be Pluto’s parent for
a frame.
member("scene").model("Pluto").transform.multiply(member("scene")\
.model("Mars").transform)
multiSound
Syntax
the multiSound
Description
System property; specifies whether the system supports more than one sound channel and
requires a Windows computer to have a multichannel sound card (
TRUE
) or not (
FALSE
).
Example
This statement plays the sound file Music in sound channel 2 if the computer supports more than
one sound channel:
if the multiSound then sound playFile 2, "Music.wav"
name
Syntax
member(
whichCastmember
).texture(
whichTexture
).name
member(
whichCastmember
).shader(
whichShader
).name
member(
whichCastmember
).motion(
whichMotion
).name
member(
whichCastmember
).modelResource(
whichModelResource
).name
member(
whichCastmember
).model(
whichModel
).name
member(
whichCastmember
).light(
whichLight
).name
member(
whichCastmember
).camera(
whichCamera
).name
member(
whichCastmember
).group(
whichGroup
).name
node
.name
Description
3D property; when used with an object reference, allows you to get the name of the referenced
object. You can only get the name; the name can’t be changed.
All names must be unique. If created through Lingo, the name returned is the name given in the
constructor function. If created through a 3D-authoring program the name returned may be the
name of the model.
Example
This statement sets the name of the fifth camera in the cast member TableScene to BirdCam:
member("TableScene").camera[5].name = "BirdCam"
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...