User Guide

Chapter 20530
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