User Guide

1030 Chapter 14: Properties
textureCoordinates
Usage
member(whichCastmember).modelResource(whichModelResource).\
face[faceIndex].textureCoordinates
modelResourceObject.face[faceIndex].textureCoordinates
Description
3D property; identifies which elements in the textureCoordinateList to use for the
faceIndex’d face. This property must be a list of three integers specifying indices in the
textureCoordinateList, corresponding to the textureCoordinates to use for each corner of
the meshs face.
See also
face, textureCoordinateList
textureLayer
Usage
member(whichCastmember).model(whichModel).meshDeform.mesh[index].\
textureLayer.count
member(whichCastmember).model(whichModel).meshdeform.mesh[index].\
texturelayer.add()
member(whichCastmember).model(whichModel).meshdeform.mesh[index].\
texturelayer[index].textureCoordinateList.
Description
3D meshdeform modifier properties; using these properties you can get and set information
about the texture layers of a specified mesh.
You can have up to eight texture layers for a shader, each layer can contain only one texture, but
the same texture can be specified for more than one layer. Texture layers are layers of textures used
by shaders.
Use the following properties to access and manipulate texture layers:
meshdeform.mesh[index].texturelayer.count returns the number of texture layers for the
specified mesh.
model.meshdeform.mesh[index].texturelayer.add() adds an empty texture layer to the
specified mesh.
model.meshdeform.mesh[index].texturelayer[index].texturecoordinatelist allows
you to set or get a list of textureCoordinates for a particular layer of the specified mesh. You can
also use this property to copy texture coordinates between texture layers as follows:
model.meshdeform.texturelayer[a].texturecoordinatelist = \
model.meshdeform.texturelayer[b].texturecoordinatelist
See also
meshDeform (modifier), mesh (property), textureCoordinateList, add (3D
texture), count, texture, textureModeList