Property
diffuseColor
textureType
texture
Member
percent
Streamed
bytes
Streamed
streamSize
state
Cast member methods
The following methods let you reset cast member properties to original values they had at the
time the cast member was imported into Director:
Method
revertToWorldDefaults()
resetWorld()
Access
Description
Get and set
Diffuse color of first shader: the shader's
overall color.
Get and set
Default texture type for world. Values are as
follows:
#none
#default
#member
cast member
Get and set
Name of cast member to use as the source
for the default texture when
set to
Get
Percentage of file that has been downloaded,
with values from
Get
Integer number of bytes that have been
downloaded, with values from 0 to the size of
the file in bytes.
Get
Total size of stream to be downloaded, with
values from
Get
Current state of streaming. Values are
as follows:
: unloaded
0
: headerLoading
1
: headerLoaded
2
: mediaLoading
3
: =mediaLoaded
4
: error
-1
After state
to execute script that manipulates the 3D
world. Before then, access to particular
models may fail because those model
definitions may not have been downloaded.
Also, the
fails except at states
Description
Resets all cast member properties to the
values stored in the original 3D world
Resets the 3D cast member to the state it
was in when the movie first loaded
: no texture
: use original texture from Shader
: use image from specified
textureType
.
#member
to
.
0
100
to the size of the file in bytes.
0
or
has been reached, it's safe
3
4
cast member method
loadFile()
or
.
0
4
Default
rgb(255,
255,255)
#default
No texture
is
None
None
None
None
Returns
Nothing
Nothing
Rendering functionality
407
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers