User Guide
Using 3D behaviors 327
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
extrude3D method, you must refer to the model resource of the text.
The Lingo syntax for this is shown in the following example:
member(whichMember).model[modelIndex].resource.3DTextProperty
For example, to set the bevelDepth property of the first model in cast member 1 to a value of 25,
use the following syntax:
member(1).model[1].resource.bevelDepth = 25
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.
Property Access Description Range or Default
bevelDepth
Get and set Degree of beveling on front or back
faces.
Floating-point value from
1.0 to 100.0
Default is 1.0
bevelType
Get and set Type of bevel. #none
#miter
#round
Default is
#miter
displayFace
Get and set Faces of shape to display. #front
#tunnel
#back
Default is to show all three
faces
displayMode
Get and set Specifies how the text appears. #modeNormal
#Mode3D
Default is
#modeNormal,
which is 2D text
member(1).
extrude3d
(member(2))
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.
Specify an existing 3D
cast member
smoothness
Get and set Number of subdivisions for curved
outlines.
Integer from 1 to 100
Default is 5
tunnelDepth
Get and set Extrusion depth. Floating-point value from
1.0 to 100.0