Oink
Constant Constant

Constant

Generate a solid colour image.

raw .md
NodeConstant
MenuColor › Constant
Names in each format
.oink comp (JSON)"type": "OC_N_constant"
.nk scriptConstant (how .nk import works)
Pythonnuke.createNode("Constant")
Assistant (MCP)create_node(type="Constant")
Tab searchconstant

Constant properties

Inputs and outputs

PortNameType
output 0Imageimage

Knobs

Panel tab Constant, in panel order.

KnobLabelTypeDefaultRange / values.nk knobDescription
channelschannelsmenurgbargba, rgb, alpha, all, nonechannels
colorcolorcolour ×40, 0, 0, 00 to 1color
formatformatmenucustomcustom, HD_1080 (HD_1080 1920x1080), HD_720 (HD_720 1280x720), UHD_4K (UHD_4K 3840x2160), 2K_DCP (2K_DCP 2048x1080), 4K_DCP (4K_DCP 4096x2160), 2K_Super_35 (2K_Super_35 2048x1556), PAL (PAL 720x576), NTSC (NTSC 720x486), square_1K (squar...
width_propwidthfloat19201 to 16384 (integer)
height_propheightfloat10801 to 16384 (integer)

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

On this page