Vector nodes build and process two-dimensional values used by UV and movement graphs.
This page lists 12 nodes.
Compose Vector 2
compose-vec2
Combines X and Y numbers into a vector.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
x | float | Yes | 0 |
y | float | Yes | 0 |
Outputs
Vector X
split-x
Extracts the X component.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
vector | vec2 | Yes | [0, 0] |
Outputs
Vector Y
split-y
Extracts the Y component.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
vector | vec2 | Yes | [0, 0] |
Outputs
Add Vectors
add-vec2
Adds two vectors.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec2 | Yes | [0, 0] |
b | vec2 | Yes | [0, 0] |
Outputs
Subtract Vectors
subtract-vec2
Subtracts B from A.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec2 | Yes | [0, 0] |
b | vec2 | Yes | [0, 0] |
Outputs
Multiply Vectors
multiply-vec2
Multiplies vector components.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec2 | Yes | [0, 0] |
b | vec2 | Yes | [0, 0] |
Outputs
Scale Vector
scale-vec2
Multiplies a vector by a number.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
vector | vec2 | Yes | [0, 0] |
factor | float | Yes | 1 |
Outputs
Vector Length
length-vec2
Returns the vector magnitude.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
vector | vec2 | Yes | [0, 0] |
Outputs
Normalize Vector
normalize-vec2
Returns a protected unit vector.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
vector | vec2 | Yes | [0, 0] |
Outputs
Rotate Vector
rotate-vec2
Rotates a vector by an angle in radians.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
vector | vec2 | Yes | [0, 0] |
angle | float | Yes | 0 |
Outputs
Dot Product
dot-vec2
Returns the dot product of two vectors.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec2 | Yes | [0, 0] |
b | vec2 | Yes | [0, 0] |
Outputs
Vector Distance
distance-vec2
Returns the distance between two vectors.
| Property | Value |
|---|
| Stage | shared |
| Performance cost | low |
| Input | Type | Required | Default |
|---|
a | vec2 | Yes | [0, 0] |
b | vec2 | Yes | [0, 0] |
Outputs