Camera commands
Use these commands to work with cameras:
Command
addChild(
aNode
)
preserveWorld
child[
]
index
child(
)
name
clone(
)
name
cloneDeep(
name
addtoWorld()
getWorld
Transform()
removeFrom
World()
isInWorld()
registerScript
(
,
eventName
,
handlerName
)
scriptInstance
518
Chapter 19
Description
,
aNode
Adds
to this camera's list of children. An equivalent
aNode.parent
operation is to set
preserveWorld
The
#preserveWorld
values:
#preserveWorld
value is
being added remains intact. If
transform is interpreted as remaining parent-relative.
Returns the child at the specified position in the index.
Returns the child named
Clones a camera named
child list, and adds it to the world.
All children of the camera 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
camera palette, has no parent, and has no children. This option
lets you quickly create temporary camera instances.
)
Clones both the camera and all resources used by the camera's
children.
Adds a camera to the currently active 3D world, setting its
"world"
parent as
Equivalent to camera.parent=member
("scene").camera("world")
All newly created cameras are added to the world by default,
without it being necessary to use this command.
Calculates and returns a transform that converts object-relative
positions for this light into world-relative positions.
For cameras whose parent hierarchy terminates in the world,
this sets their parent to
Otherwise it does nothing.
For cameras whose parent hierarchy terminates in the world, the
TRUE (1)
value is
Registers a handler named
scriptInstance
script
occurs.
scriptInstance is 0
If
eventName is called.
The user defines what
thisCamera
to equal
argument is optional.I t can have two
#preserveParent
or
, the world transform of the child
#preserveParent
name
.
name
, adds it to the cameras's parent's
""
, the clone isn't added to the
.
void
and removes them from the world.
.
handlerName
that is called in the
eventName
when the event
, a movie script handler called
eventName
is.
Returns
Nothing
.
. If the
, the child's
Lingo camera object
Lingo camera object
Lingo camera object
Lingo camera object
Nothing
A transform object
Nothing
TRUE (1)
or
FALSE (0)
TRUE (1)
or
FALSE (0)
, with
TRUE (1)
indicating that the
event happened and
FALSE (0)
that it
did not
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