Type alias ChromaKeySettings

ChromaKeySettings: {
    detint: number;
    keyColor: number;
    softness: number;
    threshold: number;
}

Type declaration

  • detint: number

    A number from 0 to 1. Removes green tint caused by color spill.

  • keyColor: number

    A color in the format 0x00ff00. The base color to be keyed out.

  • softness: number

    A number from 0 to 1. Controls the softness of the edge between keyed and unkeyed pixels.

  • threshold: number

    A number from 0 to 1. Controls how close a color must be to the key color to be removed.

Inline