EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 670

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
670 Chapter 14: Properties
Example
This statement sets the boundary property of the inker modifier applied to the model named Box
to
TRUE. Lines will be drawn at the edges of the surface of the model.
member("shapes").model("Box").inker.boundary = TRUE
See also
lineColor, lineOffset, silhouettes, creases
boundingSphere
Usage
member(whichCastmember).model(whichModel).boundingSphere
member(whichCastmember).group(whichGroup).boundingSphere
member(whichCastmember).light(whichLight).boundingSphere
member(whichCastmember).camera(whichCamera).boundingSphere
Description
3D model, group, light, and camera property; describes a sphere that contains the model, group,
light, or camera and its children.
The value of this property is a list containing the vector position of the center of the sphere and
the floating-point length of the sphere’s radius.
This property can be tested but not set.
Example
This example displays the bounding sphere of a light in the message window.
put member("newAlien").light[5].boundingSphere
-- [vector(166.8667, -549.6362, 699.5773), 1111.0039]
See also
debug
boxDropShadow
Usage
-- Lingo syntax
memberObjRef.boxDropShadow
// JavaScript syntax
memberObjRef.boxDropShadow;
Description
Cast member property; determines the size, in pixels, of the drop shadow for the box of the field
cast member specified by whichCastMember.