Primitives - MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR Use Manual

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

Advertisement

Primitives

Each type of primitive has its own set of methods and properties used to define its appearance.
Use the
newModelResource()
include mesh model resources, which require you to use the
resources, which require you to use the
Sphere properties
Spheres created at runtime aren't saved with the cast member's media when the Director movie is
saved. Their
type
semicircle arc in the xy plane from
and
endAngle= 360.0
, a half sphere is generated. These properties can be modified or animated at runtime.
360.0
Property
radius
resolution
startAngle
endAngle
Cylinder properties
Cylinders have a
a 2D line around the z-axis in the xy plane from
and
endAngle = 360.0
, a half cylinder is generated. These properties can be modified or animated at runtime.
360.0
Property
topRadius
bottomRadius
numSegments
method to create the various primitives at runtime. Exceptions
is
. Their surface is generated by sweeping a two-dimensional
#sphere
startAngle
, a full sphere is generated. If
Access
Description
Get and set
Radius of the sphere.
Get and set
Controls the number of polygons used in
the creation of the sphere surface. The
higher the value, the smoother
the surface.
Get and set
Starting angle of the sweep.
Get and set
Ending angle of the sweep.
property of
type
#cylinder
, a full cylinder is generated. If
Access
Description
Get and set
Radius of the top of the cylinder. Setting
this value to 0 produces a cone.
Get and set
Radius of the bottom of the cylinder.
Get and set
Number of polygonal segments from
bottom to top.
newMesh()
method of a text cast member.
extrude3D()
to
endAngle
startAngle = 180.0
. Director generates a cylinder's surface by sweeping
startAngle
startAngle = 180.0
method, and extruder
in the y-axis. If
startAngle = 0.0
and
endAngle =
Value Range
Positive floating-point
value. The default is
25.0.
An integer value of 1
or greater. The default
is 20.
Floating-point value
of from 0.0 to 360.0.
The default is 0.0.
Floating-point value
of from 0.0 to 360.0.
The default is 360.0.
to
. If
endAngle
startAngle = 0.0
and
endAngle =
Value Range
Positive floating-point
value. The default
is 25.0.
Positive floating-point
value. The default
is 25.0.
An integer value
greater than 0.
Primitives
337

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

Subscribe to Our Youtube Channel

This manual is also suitable for:

Director mx 2004

Table of Contents