User Guide
text 1027
tension
Usage
member(whichCastmember).model(whichModel).sds.tension
Description
3D subdivision surface property; allows you to get or set a floating-point percentage between 0.0
and 100.0 that controls how tightly the newly generated surface matches the original surface. The
higher this value, the more tightly the subdivided surface matches the original surface. The
default is 65.0.
Example
The following statement sets the tension property of the sds modifier of the model Baby to 35.
If the
sds modifier’s error setting is low and its depth setting is high, this statement will have a
very pronounced effect on Baby’s geometry.
member("scene").model("Baby").sds.tension = 35
See also
sds (modifier), error, depth (3D)
text
Usage
-- Lingo syntax
memberObjRef.text
// JavaScript syntax
memberObjRef.text;
Description
Text cast member property; determines the character string in the field cast member specified by
whichCastMember.
The
text cast member property is useful for displaying messages and recording what the
user types.
This property can be tested and set.
When you use Lingo to change the entire text of a cast member you remove any special
formatting you have applied to individual words or lines. Altering the
text cast member
property reapplies global formatting. To change particular portions of the text, refer to lines,
words, or items in the text.
When the movie plays back as an applet, this property’s value is
"" (an empty string) for a field
cast member whose text has not yet streamed in.
To see an example of
text used in a completed movie, see the Forms and Post, and Text movies
in the Learning/Lingo Examples folder inside the Director application folder.