Switch
compositing node
Passes the input of one of its connected inputs through, acting like an exclusive switch.
See also: Blend
This COP passes the input of one of its connected inputs through, acting like an exclusive switch. It does not use any image cache space, nor does it cook anything.
If the Input Index parameter is animated, the all input sequences must be identical in the following aspects: resolution, planes, data format, and frame range. If you require that they differ, please use a Blend COP instead with an integer blend factor. If the Input Index is not animated, the input sequences do not need to match.
Parameters
|
Input Index |
The index of the input to pass through. |
Local variables
|
L |
Sequence length |
|
S |
Start of sequence |
|
E |
End of sequence |
|
IL |
Input sequence length |
|
SR |
Sequence frame rate |
|
NP |
Number of planes in sequence |
|
W,H |
Width and height of image |
|
I |
Image index (0 at start frame) |
|
IT |
Image time (0 at start frame) |
|
AI |
Current plane array index |
|
PI |
Current plane index |
|
PC |
Num of channels in current plane |
|
CXRES |
Composite Project X resolution |
|
CYRES |
Composite Project Y resolution |
|
CPIXA |
Composite Project pixel aspect ratio |
|
CDEPTH |
Composite Project raster depth |
|
CBP |
Composite Project black point |
|
CWP |
Composite Project white point |
Example files
Usages in other examples
| Example name | Example for |
|---|