#maxTextureSize
pixels. Textures that exceed this size are downsampled until they do not. To avoid texture
sampling artifacts, author textures of various sizes and choose the ones that do not exceed the
#maxTextureSize
#supportedTextureRenderFormats
video card. For details, see
#textureUnits
#depthBufferRange
property can be set.
#colorBufferRange
property can be set.
Example
This statement displays a detailed property list of information about the user's hardware:
put getRendererServices().getHardwareInfo()
-- [#present: 1, #vendor: "NVIDIA Corporation", #model: \
"32MB DDR NVIDIA GeForce2 GTS (Dell)", #version: "4.12.01.0532", \
#maxTextureSize: [2048, 2048], #supportedTextureRenderFormats: \
[#rgba8888, #rgba8880, #rgba5650, #rgba5551, #rgba5550, \
#rgba4444], #textureUnits: 2, #depthBufferRange: [16, 24], \
#colorBufferRange: [16, 32]]
See also
getRendererServices()
getHotSpotRect()
Usage
-- Lingo syntax
spriteObjRef.getHotSpotRect(hotSpotID)
// JavaScript syntax
spriteObjRef.getHotSpotRect(hotSpotID);
Description
QuickTime VR function; returns an approximate bounding rectangle for a hot spot. If the hot
spot doesn't exist or isn't visible on the Stage, this function returns rect(0, 0, 0, 0). If the hot spot
is partially visible, this function returns the bounding rectangle for the visible portion.
Parameters
Required. Specified the hot spot from which a bounding rectangle is returned.
hotSpotID
is a linear list containing the maximum width and height of a texture, in
value at run time.
is a linear list of texture pixel formats supported by the
textureRenderFormat
indicates the number of texture units available to the card.
is a linear list of bit-depth resolutions to which the
is a linear list of bit-depth resolutions to which the
.
depthBufferDepth
colorBufferDepth
getHotSpotRect()
333
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers