Nodes
Text
Text (legacy) — draw text over the input; `size` knob, baseline justify.
| Node | Text |
|---|---|
| Type id | OC_N_text |
| Menu | not in the node menu (created by import, scripts or other nodes) |
| Nuke class | Text |
| Code | opencomp_core/nodes/draw/text.py |
Inputs and outputs
| Port | Name | Type |
|---|---|---|
| input 0 | Image | image |
| output 0 | Image | image |
Knobs
Panel tab Text, in panel order.
| Knob | Label | Type | Default | Range / values | Nuke knob | Description |
|---|---|---|---|---|---|---|
message | message | text | message | |||
font | font | text | font | |||
font_size | font size | float | 100 | 0 to 500 | size | |
xjustify | xjustify | menu | left | left, center, right, justify | xjustify | |
yjustify | yjustify | menu | baseline | top, center, bottom, baseline | yjustify | |
box | box | vector ×4 | 0, 0, 0, 0 | -10000 to 10000 | box | |
color | color | colour ×4 | 1, 1, 1, 1 | 0 to 1 | color | |
opacity | opacity | float | 1 | 0 to 1 | opacity | |
leading | leading | float | 0 | -1 to 1 | leading | |
translate | translate | vector ×2 | 0, 0 | -10000 to 10000 | translate |
Other knobs (Python, .nk and the assistant; not on the panel)
| Knob | Label | Type | Default | Range / values | Nuke knob | Description |
|---|---|---|---|---|---|---|
gl_color | Viewer Controls Color | float ×3 | 0, 0, 0 | 0 to 1 | ||
postage_stamp_frame | Static Frame | int | 1 | -2147483648 to 2147483647 | ||
lifetimeStart | Lifetime Start | int | 0 | -2147483648 to 2147483647 | ||
lifetimeEnd | Lifetime End | int | 100 | -2147483648 to 2147483647 | ||
useLifetime | Use Lifetime | boolean | false | |||
cached | Cached | boolean | false | |||
bookmark | Bookmark | boolean | false | |||
dope_sheet | Dope Sheet | boolean | false | |||
clone_group | Clone Group | string | ||||
link_source | Link Source | string | ||||
link_overrides | Link Overrides | string | ||||
split_views | Split Views | string |
Nuke equivalent
Imports from and exports to Nuke's Text.
Knobs with a different name here:
| Nuke knob | Knob here |
|---|---|
size | font_size |
Nuke knobs not in this list import as a knob of the same name, or are kept unchanged for export. See .nk import.