These properties can be set while the text is in 2D mode. They have no visible effect until the text
appears in 3D mode.
When you access the properties listed in the following table for an extruded 3D text model that
you created by using the
The Lingo syntax for this is shown in the following example:
member(whichMember).model[modelIndex].resource.3DTextProperty
For example, to set the
use the following syntax:
member(1).model[1].resource.bevelDepth = 25
Property
bevelDepth
bevelType
displayFace
displayMode
member(1).
extrude3d
(member(2))
smoothness
tunnelDepth
Using 3D behaviors
Director includes a library of behaviors that lets you build and control a 3D environment without
any knowledge of Lingo or JavaScript syntax. Although scripting is still required for complex
projects, you can build simple 3D movies with behaviors alone.
method, you must refer to the model resource of the text.
extrude3D
property of the first model in cast member 1 to a value of 25,
bevelDepth
Access
Description
Get and set
Degree of beveling on front or back
faces.
Get and set
Type of bevel.
Get and set
Faces of shape to display.
Get and set
Specifies how the text appears.
Not applicable
Creates a new model resource in
member 2 by extruding the text in
member 1. Member 1 must be a text
cast member.
Get and set
Number of subdivisions for curved
outlines.
Get and set
Extrusion depth.
Range or Default
Floating-point value from
1.0 to 100.0
Default is 1.0
#none
#miter
#round
Default is
#miter
#front
#tunnel
#back
Default is to show all three
faces
#modeNormal
#Mode3D
Default is
,
#modeNormal
which is 2D text
Specify an existing 3D
cast member
Integer from 1 to 100
Default is 5
Floating-point value from
1.0 to 100.0
Using 3D behaviors
327
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