MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 735

Director scripting reference
Table of Contents

Advertisement

Example
This statement sets the
255, 0). The default directional light of the cast member will be green. This property can also be
set in the Property inspector.
member("Room").directionalcolor = rgb(0, 255, 0)
See also
directionalPreset
directionalPreset
Usage
member(whichCastmember).directionalPreset
Description
3D cast member property; indicates the direction from which the default directional light shines,
relative to the camera of the sprite.
Changing the value of this property results in changes to the
of the light's transform.
Possible values of
#topLeft
#topCenter
#topRight
#middleLeft
#middleCenter
#middleRight
#bottomLeft
#bottomCenter
#bottomRight
#None
The default value of this property is
Example
This statement sets the
#middleCenter
current view of the camera of the sprite. This property can also be set in the Property inspector.
member("Room").directionalpreset = #middleCenter
See also
directionalColor
directionalColor
directionalPreset
#topCenter
directionalPreset
. This points the default light of Room so it will shine on the middle center the
property of the cast member named Room to rgb(0,
include the following:
.
property of the cast member named Room to
and
position
rotation
directionalPreset
properties
735

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING 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