
636
Chapter 14: Properties
Example
This Lingo checks whether the currently running 3D renderer for sprite 2 supports anti-aliasing
with the
antiAliasingSupported
property. If anti-aliasing is supported, the second statement
turns on anti-aliasing for the sprite with the
antiAliasingEnabled
property.
if sprite(2).antiAliasingSupported = TRUE then
sprite(2).antiAliasingEnabled = TRUE
end if
See also
antiAliasingSupported
,
renderer
,
rendererDeviceList
antiAliasingSupported
Usage
sprite(
whichSprite
).antiAliasingSupported
Description
3D sprite property; indicates whether anti-aliasing is supported by the current 3D renderer. This
property can be tested but not set. This property returns either
TRUE
or
FALSE
.
Example
This Lingo checks whether the currently running 3D renderer for sprite 3 supports anti-aliasing.
If anti-aliasing is supported, the second statement turns on anti-aliasing for the sprite with the
antiAliasingEnabled
property.
if sprite(3).antiAliasingSupported = TRUE then
sprite(3).antiAliasingEnabled = TRUE
end if
See also
antiAliasingEnabled
,
renderer
,
rendererDeviceList
antiAliasThreshold
Usage
-- Lingo syntax
memberObjRef
.antiAliasThreshold
// JavaScript syntax
memberObjRef
.antiAliasThreshold;
Description
Text cast member property; this setting controls the point size at which automatic anti-aliasing
takes place in a text cast member. This has an effect only when the
antiAlias
property of the text
cast member is set to
TRUE
.
The setting itself is an integer indicating the font point size at which the anti-alias takes place.
This property defaults to 14 points.
See also
antiAlias
Содержание DIRECTOR MX 2004-DIRECTOR SCRIPTING
Страница 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Страница 48: ...48 Chapter 2 Director Scripting Essentials...
Страница 100: ...100 Chapter 4 Debugging Scripts in Director...
Страница 118: ...118 Chapter 5 Director Core Objects...
Страница 594: ...594 Chapter 12 Methods...
Страница 684: ...684 Chapter 14 Properties See also DVD...
Страница 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Страница 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Страница 889: ...netPresent 889 _player alert Sorry the Network Support Xtras could not be found See also Player...
Страница 1102: ...1102 Chapter 14 Properties...