User Guide

Chapter 388
Example
This handler plays the sound cast member Stevie Wonder when the sprite begins:
on beginSprite me
puppetSound "Stevie Wonder"
end
See also
on endSprite, on prepareFrame, scriptInstanceList
bevelDepth
Syntax
member(whichTextCastmember).bevelDepth
member(which3DCastmember).modelResource(whichModelResource).\
bevelDepth
Description
3D text property; indicates the degree of beveling on the 3D text.
For text cast members, this property has no effect unless the members displayMode property is
set to
#mode3D and its bevelType property is set to #miter or #round.
For extruded text in a 3D cast member, this property has no effect unless the model resources
bevelType property is set to #miter or #round.
The range of this property is 0.0 to 10.0, and the default setting is 10.0.
Example
In this example, the cast member named Logo is a text cast member. This statement sets the
bevelDepth of logo to 5.5. When logo is displayed in 3D mode, if its bevelType property is set
to
#miter or #round, the edges of its letters will exhibit dramatic beveling.
member("Logo").bevelDepth = 5.5
In this example, the model resource of the model named Slogan is extruded text. This statement
sets the
bevelDepth of Slogans model resource to 5. If the bevelType property of Slogan is set to
#miter or #round, the edges of its letters will exhibit dramatic beveling.
member("scene").model("Slogan").resource.bevelDepth = 5
See also
bevelType, extrude3D, displayMode
bevelType
Syntax
member(whichTextCastmember).bevelType
member(which3DCastmember).modelResource(whichModelResource).\
bevelType
Description
3D text property; indicates the style of beveling applied to the 3D text.
For text cast members, this is a member property. For extruded text in a 3D cast member, this is a
model resource property.