Input Nodes
Input nodes provide time, character, glyph and constant values to the graph.
This page lists 10 nodes.
Time
input-time
Current animation time in seconds.
| Property | Value |
|---|---|
| Stage | shared |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | float |
Character Index
input-character-index
Zero-based character position inside the rendered text.
| Property | Value |
|---|---|
| Stage | shared |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | float |
Glyph UV
input-uv
Current glyph texture coordinate.
| Property | Value |
|---|---|
| Stage | fragment |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | vec2 |
Glyph UV X
input-uv-x
Horizontal glyph texture coordinate.
| Property | Value |
|---|---|
| Stage | fragment |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | float |
Glyph UV Y
input-uv-y
Vertical glyph texture coordinate.
| Property | Value |
|---|---|
| Stage | fragment |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | float |
Glyph Alpha
input-texture-alpha
Current glyph mask or texture alpha.
| Property | Value |
|---|---|
| Stage | fragment |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | float |
Texture Size
input-texture-size
Font atlas dimensions in pixels.
| Property | Value |
|---|---|
| Stage | fragment |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | vec2 |
Number
constant-number
A configurable scalar value.
| Property | Value |
|---|---|
| Stage | shared |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | float |
Controls
| Control | Type | Default | Values |
|---|---|---|---|
value | number | 1 | -64 to 64, step 0.01 |
Vector 2
constant-vec2
A configurable two-dimensional vector.
| Property | Value |
|---|---|
| Stage | shared |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | vec2 |
Controls
| Control | Type | Default | Values |
|---|---|---|---|
x | number | 0 | -64 to 64, step 0.01 |
y | number | 0 | -64 to 64, step 0.01 |
Colour
constant-colour
A configurable RGB colour.
| Property | Value |
|---|---|
| Stage | shared |
| Performance cost | low |
Inputs
None.
Outputs
| Output | Type |
|---|---|
value | vec3 |
Controls
| Control | Type | Default | Values |
|---|---|---|---|
colour | colour | #FFFFFF | Six-digit hex colour |