
ADOBE DIRECTOR 11.0
User Guide
390
Movie properties
Use the following properties to control which renderer the movie uses:
Cast member properties
You can control most cast member properties by using the Property inspector. For more information, see
Using the
Property inspector for 3D
.
Use the following properties to work with 3D cast members in script:
Property
Access
Description
preferred3d
Renderer
get
and
set
The renderer a particular movie prefers. The default value is
#auto
,
which allows the movie to pick the best available renderer. This property
is not the same as the
currentRenderer
property. The
preferred3dRenderer
property stipulates which renderer the movie
prefers, whereas the
currentRenderer
property gives the renderer
currently in use. The possible values for the
preferred3dRenderer
property 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.
active3d
Renderer
get
The renderer the movie is actually using. Equivalent to the
rendererServices
object’s
currentRenderer
property. 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.
Property
Access
Description
Default
preload
get
and
set
TRUE (1)
or
FALSE (0)
specification of whether the
member is preloaded before display and playback or
streamed in during playback. This property is only
available for linked cast members.
None
animation
Enabled
get
and
set
TRUE (1)
or
FALSE (0)
specification of whether
animation, if any, will play.
TRUE (1)
loop
get
and
set
TRUE (1)
or
FALSE (0)
specification of whether
animation loops or not.
TRUE (1)
directTo
Stage
get
and
set
TRUE (1)
or
FALSE (0)
specification of whether
rendering occurs directly to the Stage or to the
Director offscreen buffer. If
TRUE (1)
, other sprites
that intersect with this sprite may flicker. If
FALSE
(0)
, rendering layers well, but speed declines.
TRUE (1)
:
rendering occurs
directly to the
Stage
camera
Position
get
and
set
Independent
x
,
y
,
z
translation for the default camera
with values ranging from
Float_Min
to
Float_Max
.
vector
(0.0, 0.0,
250.0)
Содержание 65036570 - Director - PC
Страница 1: ...i ADOBE DIRECTOR 11 USER GUIDE...