Property Name
textureList
textureList
[
]
index
texture
reflectionMap
diffuseLightMap
specularLight
Map
glossMap
Access
Description
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
texturing for all layers.
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.
Get and set
This property allows access to the texture for
the first layer. It is equivalent to
textureList[1]
An argument of
texturing for the first layer.
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
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
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
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
disables
.
void
can be used to disable
Working with Models and Model Resources 489
Default
void
void
void
void
void
void
void
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers