MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual page 483

Table of Contents

Advertisement

Model properties
The properties of a model determine its particular appearance and relationship to the rest of the
3D world.
Property
name
parent
child.count
transform
userData
resource
shaderList
shaderList.
count
shaderList.
[
]
index
shader
bounding
Sphere
world
Position
Access
Description
Get
Unique string name.
Get and set
This model's parent; either another object or the 3D
cast member itself.
Get
Number of children (but not grandchildren) of a
given model.
Get and set
Lingo transform object representing this model'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 model. Users can add, remove, get, and set
properties on this list.
Get and set
Model resource object defining model's geometry.
Get and set
List of all shaders used by the model. Setting this
property to a single shader sets every element of
shaderList
the
Get
Number of shaders the model uses.
Get and set
Provides access to a particular shader used in a
specific region of the model.
Get and set
Provides access to the first shader in the shader list. Shader object.
Get
A list containing a vector and a floating-point value.
The vector represents the world position and the
value represents the radius of a bounding sphere
surrounding the model and all its children.
Get and set
Position of the model in world coordinates.
Shortcut for the command
node.getWorldTransform
()position
gives the relative
gives the relative
to that shader.
.
Working with Models and Model Resources 483
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.
Additional
properties may
also be added.
Model resource
object.
List.
Positive integer.
List.
[vector
(0,0,0),
0.0]
Vector object.

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx

Table of Contents