Groups - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

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

Advertisement

Groups

Groups have many of the same properties and methods as models, except that you need to
substitute the word
have a parent and/or children. These can be models, lights, cameras, or other groups.
Group properties
The properties of the group determine its particular appearance and relationship to the rest of
the 3D world.
Use these properties to work with groups:
Property
name
parent
child.count
transform
userData
bounding
Sphere
world
Position
pointAt
Orientation
for the word
group
model
Access
Description
Get
Unique string name.
Get and set
This group's parent; either another object or
the 3D cast member itself.
Get
Number of children (but not grandchildren) of
a given group.
Get and set
Script transform object representing this
group's position and orientation relative to its
parent's position and orientation.
transform.position
position.
transform.rotation
rotation.
Get and set
A property list containing all
properties assigned to the group. Users can
add, remove, get, and set properties on this
list.
Get
A list containing a vector and a floating-point
value. The vector represents the position of
the group in world space. The floating-point
value represents the radius of the bounding
sphere that contains the group and its
children.
Get
Position of the group in world coordinates. A
quick shortcut for
group.getWorldTransform()
Get and set
A list of two orthogonal vectors,
[objectRelativeDirection,
objectRelativeUp]
groups
when writing scripts. A group is a node that can
gives the relative
gives the relative
.
position
, that control how the
method works.
pointAt()
Value
Any string.
An object or
cast member.
An integer.
Set: a transform
object.
Get: reference
to a transform
object.
The default list
includes the
properties
assigned in the
3D modeling
tool. User
properties are
then added.
A list, with the
default value of
[vector
.
(0,0,0), 0.0]
A vector object.
A vector list.
Groups
363

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

This manual is also suitable for:

Director mx 2004

Table of Contents