User Guide

657
textureMember
Syntax
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 p r o p e r t y m u s t b e s e t t o #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
textureMode
Syntax
member(whichCastmember).shader(whichShader).textureMode
member(whichCastmember).model(whichModel).shader.textureMode
member(whichCastmember).model(whichModel).shaderList{[index]}.\
textureMode
Description
3D #standard shader property; specifies how the first texture layer is mapped onto the surface of
the model. Use the
textureModeList property to specify textures for layers other than the first layer.
This property is ignored if the #toon modifier is applied to the model resource.
The possible values of this property are
#none, #wrapPlanar, #wrapCylindrical,
#wrapSpherical, #reflection, #diffuseLight, and #specularLight. For descriptions of
these terms, see
textureModeList.
Example
This statement sets the value of the textureMode property of the first texture layer of the shader of
the model named Ball to
#wrapSpherical:
member("scene").model("Ball").shader.textureMode = #wrapSpherical
See also
textureModeList