Light Commands - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

Property Name
spotDecay
pointAt
Orientation
boundingSphere
worldPosition

Light commands

Use these commands to work with lights:
Command
addChild
(
aNode,
)
preserveWorld
child[
]
index
child(
)
name
clone(
)
name
cloneDeep
(
)
name
addtoWorld()
removeFrom
World()
isInWorld()
Access
Description
TRUE (1)
Get and set
whether or not spotlight intensity falls off with
camera distance.
Get and set
Two orthogonal vectors
(objectRelativeDirection
objectRelativeUp)
light's
Get
A list containing a vector and a floating-point
value, with the vector representing the position
and the value the radius of a bounding sphere
surrounding the light and all its children.
Get and set
Position of the light in world coordinates.
Shortcut for the command
node
.
()position
Description
aNode
Adds the node
to this light's list of children. An equivalent
aNode.parent = this light
operation is to set
preserveWorld
The
argument is optional. It can have two values:
#preserveWorld
#preserveParent
or
#preserveWorld
, the world transform of the child being added
#preserveParent
remains intact. If
interpreted as remaining parent-relative.
Returns the child at the specified position in the index.
Returns a reference to the named child.
name
Clones a light named
adds it to the world.
All children of the light are automatically cloned.This can be avoided
by removing the children, performing the cloning operation, and then
adding the children back.
""
If the name is omitted or is
palette, has no parent, and has no children. This option lets you
quickly create temporary light instances.
Clones both the light and all resources used by the light's children.
Adds light to currently active 3D world, setting its parent as
"world"
.
light.parent = member
Equivalent to:
("scene").light("world")
All newly created lights are added to the world by default, without it
being necessary to use this command.
For lights whose parent hierarchy terminates in the world, this sets
void
their parent to
and removes them from the world. Otherwise it
does nothing.
For lights whose parent hierarchy terminates in the world, the value is
TRUE (1)
.
FALSE (0)
/
value that controls
controlling how the
pointAt
command works.
getWorldTransform
.
. If the value is
, the child's transform is
, adds it to light's parent's child list, and
, the clone isn't added to the light
.
Working with Models and Model Resources 513
Default
FALSE (0)
None
and
[vector
(0,0,0),
0.0]
Vector object
Returns
Nothing
.
Lingo light object
Lingo light object
Lingo light object
Lingo light object
Nothing
Nothing
TRUE (1)
or
FALSE (0)

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx

Table of Contents