User Guide
Lingo Dictionary 61
add (3D texture)
Syntax
member(whichCastmember).model(whichModel).meshdeform.mesh[index].\
textureLayer.add()
Description
3D meshdeform modifier command; adds an empty texture layer to the model’s mesh.
You can copy texture coordinates between layers using the following code:
modelReference.meshdeform.texturelayer[a].texturecoordinatelist =
modelReference.meshdeform.texturelayer[b].texturecoordinatelist
Example
This statement creates a new texture layer for the first mesh of the model named Ear.
member("Scene").model("Ear").meshdeform.mesh[1].\
textureLayer.add()
See also
meshDeform (modifier), textureLayer, textureCoordinateList
addAt
Syntax
list.AddAt(position, value)
addAt list, position, value
Description
List command; for linear lists only, adds a value specified by value to a list at the position
specified by
position.
This command returns an error when used with a property list.
Example
This statement adds the value 8 to the fourth position in the list named bids, which is
[3,2,4,5,6, 7]:
bids = [3, 2, 4, 5, 6, 7]
bids.addAt(4,8)
The resulting value of bids is [3, 2, 4, 8, 5, 6, 7].
addBackdrop
Syntax
sprite(whichSprite).camera{(index)}.addBackdrop(texture, locWithinSprite,
rotation)
member(whichCastmember).camera(whichCamera).addBackdrop(texture,
locWithinSprite, rotation)
Description
3D camera command; adds a backdrop to the end of the camera’s list of backdrops. The
backdrop is displayed in the 3D sprite at
locWithinSprite with the indicated rotation. The
locWithinSprite parameter is a 2D loc measured from the upper left corner of the sprite.