
715
•
#back
specifies that only those polygons facing away from the camera are drawn. Use this
setting when you want to draw the inside of a model, or for models which are not drawing
correctly, possibly because they were imported from a file format that used a different
handiness value when computing normals.
•
#both
specifies that both sides of all polygons are drawn.Use this setting when you want to see
the plane regardless of the viewing direction, and for models that are not drawing correctly.
Example
The following statement shows that the visibility property of the model Monster02 is set to
#none
. The model is invisible.
put member("3D").model("Monster02").visibility
-- #none
voiceCount()
Syntax
voiceCount()
Description
Function: returns the number of installed voices available to the text-to-speech engine. The return
value is an integer. This number of voices can be used with
voiceSet()
and
voiceGet()
to
specify a particular voice to be active.
Example
This statement sets the variable
numVoices
to the number of available text-to-speech voices:
numVoices = voiceCount()
See also
voiceInitialize()
,
voiceSet()
,
voiceGet()
voiceGet()
Syntax
voiceGet()
Description
Function; returns a property list describing the current voice being used for text-to-speech. The
list contains the following properties:
•
#name
indicates the name of the installed voice.
•
#age
indicates the age of the voice. The value is a string. Possible values include “Teen”,
“Adult”, “Toddler”, and “Senior”, as well as numeric values such as “35”. Actual values depend
on the operating system, speech software version, and voices installed.
•
#gender
indicates whether the voice is male or female. The value is a string.
•
#index
indicates the position of the voice in the list of installed voices. You can refer to a voice
by its index when using the
voiceSet()
command.
Use
voiceCount()
to determine the number of available voices.
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...