Mix
Function
This mixes two images together according to a percentage. You can create
a dissolve between two clips by animating the mixPercent.
Parameters
|
Type
|
Defaults
|
Function
|
clipMode |
int
|
1 |
Toggles between foreground (0) and background
resolution (1) |
mixPercent |
float
|
50 |
The percentage of each image.
0 = nothing of image 2
100 = nothing of image 1
Default is 50.
|
channels |
string
|
"rgba" |
Which channels to be mixed. Default is
"rgba". |
Synopsis
image Mix(
image Foreground,
image Background,
int clipMode,
float mixPercent,
const char * channels
);
Script
image = Mix(
Foreground,
Background,
clipMode,
mixPecent,
"channels"
);
Command Line
shake -mix Background clipMode mixPercent etc...
See Also
KeyMix
|