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
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...