Adobe 65036570 - Director - PC User Manual page 356

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

Advertisement

Property Name
Access
Get and set
transparent
Get and set
renderStyle
Get and set
flat
Get and set
textureList
Get and set
textureList
[index]
Get and set
texture
Get and set
reflectionMap
Description
This property controls whether or not the
model is blended using alpha values or
rendered as opaque. The default is
(alpha blended). The functionality of
depends on
shader.blend
.
shader.transparent
This property can take the following values:
#fill
#wire
#point
When
shader.renderStyle = #fill
polygons of the mesh are filled.
When
shader.renderStyle = #wire
polygon edges of the mesh are rendered.
When
shader.renderStyle = #point
vertices of the mesh are rendered, provided that
is supported by the
#Fill
#software
renderer. The
and
#point
#wire
work with the software renderer.
When
shader.flat = TRUE (1)
should be rendered with flat shading instead of
Gouraud shading, which shades each polygon
separately. Flat shading shades the mesh as a
whole.
A shader can use up to eight layers of textures.
This eight-element list defines which texture is
used for which layer.
Get: Returns a list of texture objects, one per
layer.
Set: Specifies a texture object to be applied to all
layers. An argument of
disables texturing
void
for all layers.
A shader can use up to eight layers of textures.
This property gives access to the texture at the
indicated index position.
This property allows access to the texture for the
first layer. It is equivalent to
textureList[1]
An argument of
can be used to disable
void
texturing for the first layer.
Get: Returns the texture associated with the
third layer.
Set: Specifies a texture to be used in the third
layer and applies the following values:
textureModeList[3] = #reflection
blendFunctionList[3] = #blend
blendSourceList[3] = #constant
blendConstantList[3] = 50.0
Default
TRUE (1)
TRUE (1)
#fill
, the
, the
, the
values do not
, the mesh
FALSE (0)
void
void
void
.
void
ADOBE DIRECTOR 11.0
345
User Guide

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents