
Lingo Dictionary
75
Description
This property indicates whether the 3D world in the sprite
whichSprite
is anti-aliased. It can be
tested and set. The default value is
FALSE
, indicating that anti-aliasing is off. If the
antiAliasingEnabled
property is set to
TRUE
and the 3D renderer changes to a renderer that
does not support anti-aliasing, the property is set to
FALSE
. The value of this property is not saved
when the movie is saved.
Anti-aliased sprites use more processor power and memory than sprites that are not anti-aliased.
Temporarily turning off anti-aliasing can improve the performance of animations and user
interaction.
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
Syntax
sprite(
whichSprite
).antiAliasingSupported
Type
3D sprite property.
Description
This 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
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...