604
shutDown
Syntax
shutDown
Description
Command; closes all open applications and turns off the computer.
Example
This statement checks whether the user has pressed S (Windows) or S
(Macintosh) and, if so, shuts down the computer:
if the key = "s" and the commandDown then
shutDown
end if
See also
quit
,
restart
silhouettes
Syntax
member(
whichCastmember
).model(
whichModel
).inker.silhouettes
member(
whichCastmember
).model(
whichModel
).toon.silhouettes
Description
3D
toon
and
inker
modifier property; indicates the presence
(TRUE)
or absence
(FALSE)
of lines
drawn by the modifier at the visible edges of the model.
Silhouette lines are drawn around the model’s 2D image on the camera’s projection plane. Their
relationship to the model’s mesh is not fixed, unlike crease or boundary lines, which are drawn on
features of the mesh.
Silhouette lines are similar to the lines that outline images in a child’s coloring book.
The default value for this property is
TRUE
.
Example
The following statement sets the
silhouettes
property of the
inker
modifier for the model named
Sphere to
FALSE
. Lines will not be drawn around the profile of the model.
member("Shapes").model("Sphere").inker.silhouettes = FALSE
sin()
Syntax
sin(
angle
)
Description
Math function; calculates the sine of the specified angle. The angle must be expressed in radians
as a floating-point number.
Example
This statement calculates the sine of
pi
/2:
put sin (PI/2.0)
-- 1
See also
PI
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...