Controlling the 3D World
533
Use the following properties to work with 3D cast members in Lingo:
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)
camera
Rotation
Get and set
Independent
x
,
y
,
z
rotation transforms for the
default camera with values ranging from
Float_Min
to
Float_Max
.
vector
(0.0, 0.0,
0.0)
ambient
Color
Get and set
Light applied to entire scene.
rgb(0,0,0)
backColor
Get and set
Background color in all views.
rgb(0,0,0)
directional
Color
Get and set
Color of single “default” directional light.
rgb(255,
255,255)
directional
Preset
Get and set
Absolute position of the single “default”
directional light:
#None
#TopLeft
#TopCenter
#TopRight
#MiddleLeft
#MiddleCenter
#MiddleRight
#BottomLeft
#BottomCenter
#BottomRight
#TopCenter
specularColor
Get and set
Specular color of first shader: the color of
reflections from the shader.
rgb(255,
255,255)
reflectivity
Get and set
Reflectivity of first shader, with values from
0.0
to
100.0
.
0.0
diffuseColor
Get and set
Diffuse color of first shader: the shader’s overall
color.
rgb(255,
255,255)
textureType
Get and set
Default texture type for world. Values are as follows:
#none
: no texture
#default
: use original texture from Shader
#member
: use image from specified cast member
#default
Содержание 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...