Adobe 65036570 - Director - PC User Manual page 364

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

Property
Access
Get and set
nearFiltering
Get and set
compressed
renderFormat
Get and set
Texture methods
The pixel height and width of the 2D images you use as textures should be powers of 2 (that is, 2, 4, 8, 16, 32, and so
on). If not, the image will be resized to a dimension that is a power of 2. The
manual control over this procedure at the texture level.
Method
Description
Reduces the height of the texture to the next lowest power of 2.
scaleDown()
This is useful for dynamically resizing textures to fit on a client
machine.
Description
Determines whether bilinear filtering is used
when rendering a projected texture map that
covers more screen space than the original.
For more information, see the Scripting Refer-
ence topics in the Director Help Panel.
The property can be
TRUE (1)
: the texture is compressed
TRUE (1)
: the texture is not compressed
(0)
The value changes automatically from
to
when the texture is to be
(1)
FALSE (0)
rendered.
The value can be set to
FALSE (0)
press or to
to remove the decom-
TRUE (1)
pressed representation from memory.
This property determines how many bits are
used to render the texture. It takes the following
values:
: the texture is rendered based on the
#default
value of the
getRendererServices().textureRender
property.
Format
: renders the texture using W bits for
#rgbaWXYZ
the red channel, X bits for the green channel, Y
bits for the blue channel and Z bits for the alpha
channel. This is available by using the following
possible combinations:
#rgba8888
#rgba8880
#rgba5650
#rgba5550
#rgba5551
#rgba4444
Default
TRUE (1)
or
:
TRUE (1)
FALSE (0)
FALSE
TRUE
to decom-
#default
method lets you retain
scaleDown()
Returns
Nothing.
ADOBE DIRECTOR 11.0
353
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents