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
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...