521
CHAPTER 20
Controlling the 3D World
Macromedia Director MX provides powerful methods for overall control of the
three-dimensional (3D) world, including Lingo for handling new 3D-generated events, selecting
models (picking), vector math operations, and transforms. In addition, the properties and
methods of the Director global renderer services object supply common rendering properties for
all 3D sprites and cast members. Finally, 3D cast member and sprite properties and commands
allow additional control of their content during playback.
You can also find the commands and properties given here in tabular form in alphabetical form,
with accompanying syntax, definitions, and examples, in the Lingo Dictionary (Help > Lingo
Dictionary).
3D Lingo events
Event handling lets you use the
registerForEvent
command to specify a handler to run when a
particular event occurs within a specific cast member. With the
registerForEvent
command
you specify the type of event that will trigger the handler, the handler name, and the script object
that contains the handler. The script object can be a child script, an instance of a behavior
attached to a sprite, or any other script. If the script object isn’t specified, the handler is called in
the first movie script in which it is found.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...