1062
Chapter 14: Properties
tunnelDepth
Usage
member(
whichTextmember
).tunnelDepth
member(
whichCastMember
).modelResource(
whichExtruderModel
\
Resource
).tunnelDepth
Description
A 3D extruder model resource property, as well as a text cast member property. Using this
property allows you to get or set the extrusion depth (the distance between the front and back
faces) of a 3D text model resource Possible values are floating point numbers between 1.0 and
100.0. The default value is 50.0.
It is recommended that you see
extrudeToMember
entry for more information about working
with extruder model resources and text cast members.
Example
In this example, the cast member logo is a text cast member. The following statement sets the
tunnelDepth of logo to 5. When logo is displayed in 3D mode, its letters will be very shallow.
member("logo").tunnelDepth = 5
In this example, the model resource of the model Slogan is extruded text. The following
statement sets the
tunnelDepth
of Slogan's model resource to 1000. Slogan’s letters will be
extremely deep.
member("scene").model("Slogan").resource.tunnelDepth = 1000
See also
extrude3D
tweened
Usage
sprite(
whichSprite
).tweened
the tweened of sprite
whichSprite
Description
Sprite property; determines whether only the first frame in a new sprite is created as a keyframe
(
TRUE
), or whether all frames in the new sprite are created as keyframes (
FALSE
).
This property does not affect playback and is useful only during Score recording.
This property can be tested and set.
Example
When this statement is issued, newly created sprites in channel 25 have a keyframe only in the
first frame of the sprite span:
sprite(25).tweened = 1
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
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...