Light Properties - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

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

Advertisement

Light properties

Use these properties to work with lights:
Property Name
name
parent
child.count
transform
userData
type
color
Access
Description
Get
Unique name of this light.
If the light was exported from a 3D
modeling package, the name is the name
assigned there.
Get and set
The model, light, camera, or group that is
this light's parent.
If the light has no parent, it cannot
contribute light.
Get
Number of immediate children (no
grandchildren) that the light has.
Get and set
Transform object representing light's
position relative to its parent's transform.
The
transform.position
relative position;
gives the relative rotation.
Get and set
A property list associated with this light.
The list defaults to the properties
assigned in the 3D modeling tool, but
users can add or delete properties at any
time.
Get and set
The kind of light this is. Must be one of
the following:
#ambient
model
#directional
the light facing the light's direction.
Distance to the light isn't important.
#point:
omnidirectional and illuminating all parts
of the model facing the light
#spot
model parts that face it, with brighter
illumination the closer the model is.
Similar to
apparent distance from the light is taken
into account.
Get and set
Color object defining color and intensity.
Ranges from color(255,255,255),
which is pure white to color(0,0,0), which
is no light at all.
gives the
transform.rotation
: applied to all sides of the
: applied to those parts of
Like a bare light bulb,
: Like a spotlight, casting light on
, except that the
#directional
Default
None
Group
("World")
0
Whichever
transform is
required to
represent the
light's position
and orientation
in space.
Properties
assigned in 3D
modeling tool
None
color(191,191,
191)
Light properties
383

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents