Oink
KeyMixBA KeyMix

KeyMix

Copy A onto B through a mask.

raw .md
NodeKeyMix
MenuMerge › KeyMix
Names in each format
.oink comp (JSON)"type": "OC_N_keymix"
.nk scriptKeyMix (how .nk import works)
Pythonnuke.createNode("KeyMix")
Assistant (MCP)create_node(type="KeyMix")
Tab searchkeymix, or its initials km

KeyMix properties

Inputs and outputs

PortNameType
input 0Bimage
input 1Aimage
input 2maskimage
output 0Imageimage

Knobs

Panel tab Keymix, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
channelschannelsmenuallrgba, rgb, alpha, all, nonechannelsChannels copied from A; the rest come from B
mask_channelmask channelmenurgba.alphanone, rgba.alpha, rgba.red, rgba.green, rgba.bluemaskChannelChannel of the mask input (none = A everywhere)
invert_maskinvertboolfalseinvertMask
mixmixfloat10 to 1mix
bboxSet BBox tomenuunionunion, B side, A sidebbox

Other knobs (Python, .nk and the assistant; not on the panel)

KnobLabelTypeDefaultRange / values.nk knobDescription
gl_colorViewer Controls Colorfloat ×30, 0, 00 to 1
postage_stamp_frameStatic Frameint1-2147483648 to 2147483647
lifetimeStartLifetime Startint0-2147483648 to 2147483647
lifetimeEndLifetime Endint100-2147483648 to 2147483647
useLifetimeUse Lifetimebooleanfalse
cachedCachedbooleanfalse
bookmarkBookmarkbooleanfalse
dope_sheetDope Sheetbooleanfalse
clone_groupClone Groupstring
link_sourceLink Sourcestring
link_overridesLink Overridesstring
split_viewsSplit Viewsstring

Knob names in .nk scripts

.nk knobKnob here
maskChannelmask_channel
invertMaskinvert_mask

Other .nk knobs use the same name here. See .nk import.

On this page