Chapter 20
530
Transform operator
Use the asterisk (*) to multiply two transforms:
Rendering functionality
The Director global
rendererServices
object encapsulates information about the functionality
common to all 3D cast members and sprites in a movie. It provides a single place to query for the
3D mesh generators and modifiers available to all cast members.
Renderer services object properties
The global
getRendererServices()
object contains a property list with the following
properties. For example, use the syntax
getRendererServices().renderer
to determine the
currently active renderer.
Operator
Description
Returns
transform1 *
transform2
Returns a new transform that is the product of the two original
transforms. Useful for combining the effects of two transforms.
A new transform
object
Property
Access
Description
Default
renderer
Get and set
The rasterizer library all 3D sprites use to draw
themselves. This property must be set before
any 3D sprite comes into existence. Its default
value is determined by the
preferredRenderer
property of the first
cast member loaded from file. This is a run-time
property that is not saved. Possible values are
as follows:
#openGL
: openGL drivers for a hardware
accelerator
#directX7_0
: DirectX7_0 drivers for a
hardware accelerator
#directX5_2
: DirectX5_2 drivers for a
hardware accelerator
#software
: built-in Director software renderer
None
renderer
DeviceList
Get
A list of available rasterizer libraries. Possible
values are as follows:
#openGL
: openGL drivers for a hardware
accelerator
#directX7_0
: DirectX7_0 drivers for a
hardware accelerator
#directX5_2
: DirectX5_2 drivers for a
hardware accelerator
#software
: built-in Director software renderer
None
current
Renderer
Get
The rasterizer currently in use. Possible values
are as follows:
#openGL
: openGL drivers for a hardware
accelerator
#directX7_0
: DirectX7_0 drivers for a
hardware accelerator
#directX5_2
: DirectX5_2 drivers for a
hardware accelerator
#software
: built-in Director software renderer
None
Содержание 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...