User Guide
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