Shaders - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

Hide thumbs Also See for DIRECTOR MX 2004-USING DIRECTOR:
Table of Contents

Advertisement

Method
.
model(name1)
clone
Deep(name2)
cloneModelFromCast
Member
,
(name1
member(
)
name3
)

Shaders

A shader defines the basic appearance of a model's surface. You apply textures to shaders. The
standard shader is photorealistic. The following list describes some of the other available shaders:
, which looks like a painted surface
#painter
, which looks like an engraved surface
#engraver
, which looks like a newspaper photograph
#newsprint
The following cast member methods and properties can be used to perform basic
shader operations:
Method
shader.count
shader(name)
shader[index]
newShader
(name,type)
Function
Creates a copy of the model named
and assigns it the name
model uses a copy of the original model's
model resource and shader; changes to the
original model's model resource and shader
have no effect on the new model.
Copies the model named name2 (from the
,
member named name3) into the current
name2
member. The new copy is named name1. This
is similar to the
copies a model from one cast member to
another.
Function
Returns the number of shader objects
included in the cast member.
Returns the shader named
Returns the shader at the designated
position in the index. The index number can
change if shaders are added or deleted.
Creates a new shader and adds it to the
shader object list. The
,
#standard
#painter
.
#newsprint
name1
. The new
name2
method, but it
cloneDeep()
.
name
can be
type
,
, or
#engraver
Returns
Returns the model named
name2.
Returns the model named
name1.
Returns
Integer.
Returns the shader object
named
if it exists. Returns
name
if the object does not
void
exist.
Returns the shader object at
that index number if it exists.
Returns
if the object does
void
not exist at that index number.
Returns a new shader object
with a unique name. If the
name isn't unique, returns a
script error.
Shaders
319

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Director mx 2004

Table of Contents