3D Lingo Dictionary > A-B > backdrop

 

backdrop

Syntax

sprite(whichSprite).camera{(index)}.backdrop[index].loc
member(whichCastmember).camera(whichCamera).backdrop[index].loc
sprite(whichSprite).camera{(index)}.backdrop[index].source
member(whichCastmember).camera(whichCamera).backdrop[index].source
sprite(whichSprite).camera{(index)}.backdrop[index].scale
member(whichCastmember).camera(whichCamera).backdrop[index].scale
sprite(whichSprite).camera{(index)}.backdrop[index].rotation
member(whichCastmember).camera(whichCamera).backdrop[index].rotation
sprite(whichSprite).camera{(index)}.backdrop[index].regPoint
member(whichCastmember).camera(whichCamera).backdrop[index].regPoint
sprite(whichSprite).camera{(index)}.backdrop[index].blend
member(whichCastmember).camera(whichCamera).backdrop[index].blend
sprite(whichSprite).camera{(index)}.backdrop.count
member(whichCastmember).camera(whichCamera).backdrop.count

Description

3D camera property; a 2D image that is rendered on the camera's projection plane. All models in the camera's view appear in front of the backdrop.

Backdrops have the following properties:

Note: These properties can also be used to get, set, and manipulate overlays. See the individual property entries for detailed information.

loc (backdrop and overlay) indicates the 2D location of the backdrop, as measured from the upper left corner of the sprite.

source indicates the texture used by the backdrop.

scale (backdrop and overlay) is the number by which the height and width of the texture are multiplied to determine the dimensions of the backdrop.

rotation (backdrop and overlay) is the amount by which the backdrop is rotated about its regPoint.

regPoint indicates the registration point of the backdrop.

blend indicates the opacity of the backdrop.

count indicates the number of items in the camera's list of backdrops.

Use the following commands to create and remove backdrops:

addBackdrop creates a backdrop from a texture and adds it to the end of the camera's list of backdrops.

insertBackdrop creates a backdrop from a texture and adds it to the camera's list of backdrops at a specific index position.

removeBackdrop deletes the backdrop.

See also

overlay