Working with Models and Model Resources
489
textureList
Get and set
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
void
disables
texturing for all layers.
void
textureList
[
index
]
Get and set
A shader can use up to eight layers of
textures. This property gives access to the
texture at the indicated index position.
void
texture
Get and set
This property allows access to the texture for
the first layer. It is equivalent to
textureList[1]
.
An argument of
void
can be used to disable
texturing for the first layer.
void
reflectionMap
Get and set
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
void
diffuseLightMap
Get and set
Get: Returns the texture associated with the
second layer.
Set: Specifies a texture to be used in the
second layer and applies the following values:
textureModeList[2] = #diffuse
blendFunctionList[2] =
#multiply
blendFunctionList[1] = #replace
void
specularLight
Map
Get and set
Get: Returns the texture associated with the
fifth layer.
Set: Specifies a texture to be used in the fifth
layer and applies the following values:
textureModeList[5] = #specular
blendFunctionList[5] = #add
blendFunctionList[1] = #replace
void
glossMap
Get and set
Get: Returns the texture associated with the
fourth layer.
Set: Specifies a texture to be used in the
fourth layer and applies the following values:
textureModeList[4] = #none
blendFunctionList[4] =
#multiply
void
Property Name
Access
Description
Default
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...