The FXScript Reference

For Final Cut Pro created by Joe Maller

Matte

Matte(overImage, baseImage, destImage, amount, type)

Matte simply overlays one image onto another using opacity as the blending method. OverImage and baseImage are the two source images that will be mixed, destImage is where the result will go. The result image can be placed directly into either of the two source buffers. Amount is a decimal value between 0 and 1 corresponding to percentages of opacity. Type sets the alpha type to use for the composite: kAlpha, kWhite or kBlack.

Compared to the other standard composite controls, matte seems to work backwards with the top image referenced first in the function.