User Guide

textureMember 1031
textureList
Usage
member(whichMember).model(whichModel).shader(whichShader).textureList
member(whichMember).model(whichModel).shader(whichShader).textureList[index]
Description
3D shader property; determines the list of textures applied to the shader. A shader can have up to
8 layers of textures. When tested, this property returns a linear list of texture objects. When set
without specifying an index, this property specifies the texture object to be applied to all layers.
Setting the
textureList property to VOID disables texturing for all layers. The default value
is
VOID.
To test or set the texture object for a specific texture layer, include an index value.
Example
This statement sets the 3rd texture layer of the shader named “WallSurface” to the texture named
“BluePaint” in the cast member named “Room:
member(3).model("Car").shader("WallSurface").textureList[3] = \
member("Room").texture("BluePaint")
See also
textureModeList
textureMember
Usage
member(whichCastmember).textureMember
Description
3D cast member property; indicates the name of the bitmap cast member used as the source of
the default texture for the 3D cast member.
The 3D cast members
textureType property must be set to #member for the textureMember
property to be effective.
Example
The following statement sets the textureMember property of the cast member named YardScene
to "Fence". If the
textureType property of YardScene is set to #member, the cast member named
Fence will be the source bitmap for the default texture in YardScene.
member("YardScene").textureMember = "Fence"
See also
textureType