![MACROMEDIA DIRECTOR MX 2004 Reference Download Page 566](http://html1.mh-extra.com/html/macromedia/director-mx-2004/director-mx-2004_reference_687516566.webp)
566
Chapter 12: Methods
Parameters
None.
Example
This statement sets the
top
property of the model resource Gift box to
FALSE
, meaning the top of
this box will be open:
member("3D World").modelResource("Gift box").top = FALSE
See also
back
,
bottom (3D)
,
front
topCap
Usage
modelResourceObjectReference
.topCap
Description
3D command; when used with a model resource whose type is
#cylinder
, allows you to both get
and set the
topCap
property of the model resource.
The
topCap
property determines whether the top cap of the cylinder is sealed (
TRUE
)
or open
(
FALSE
). The default value for this property is
FALSE
.
Parameters
None.
Example
This statement sets the
topCap
property of the model resource Tube to
FALSE
, meaning the top of
this cylinder will be open:
member("3D World").modelResource("Tube").topCap = FALSE
topRadius
Usage
modelResourceObjectReference
.topRadius
Description
3D command; when used with a model resource whose type is
#cylinder
, allows you to both get
and set the
topRadius
property of the model resource, as a floating-point value.
The
topRadius
property determines the radius of the top cap of the cylinder. This property must
always be 0.0 or greater. The default value is 25.0. Setting
topRadius
to 0.0 produces a cone.
Parameters
None.
Summary of Contents for DIRECTOR MX 2004
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...