MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 144

Director scripting reference
Table of Contents

Advertisement

Property summary for the Group object
Property
name (3D)
parent
pointAtOrientation
transform (property)
userData
worldPosition
See also
Camera, Light, Model,
Light
Represents a light in a 3D world.
Lights are used to light a 3D world. Without lights, the objects within the world cannot be seen.
You can create a reference to a light by using the
property gets the light at a specified index position in the list of lights. In Lingo, you use
light
the
property directly from the 3D
light
you must use the
The following example creates a reference to the third light of the 3D cast member "film room"
and assigns it to the variable
-- Lingo syntax
myLight = member("film room").light[3]
// JavaScript syntax
var myLight = member("film room").getPropRef("light", 3);
Property summary for the Light object
Property
attenuation
color (light)
specular (light)
spotAngle
spotDecay
type (light)
See also
Camera, Group, Model,
144
Chapter 8: 3D Objects
Model
Resource, Motion, Shader,
method to create a reference.
getPropRef()
.
myLight
Model
Resource, Motion, Shader,
property of the 3D
light
object to create a reference. In JavaScript syntax,
Member
Texture
object. The
Member
Texture

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