Motion
Get Motion

ReferenceMaterial nodesUtility

Split Vector 4

A vector's R, G, B and A on their own.

Utilitysplit4

Inputs

PinTypeStarts atNotes
Invvec40–

Outputs

PinType
Rxfloat
Gyfloat
Bzfloat
Awfloat

The code it becomes

What Studio writes for the graph below: a few lines of the material's shader, worked out for every pixel.

void mainImage(out vec4 fragColor, in vec2 fragCoord){    float n2_x = (vec4(0.0, 0.0, 0.0, 0.0)).x;    float n2_y = (vec4(0.0, 0.0, 0.0, 0.0)).y;    float n2_z = (vec4(0.0, 0.0, 0.0, 0.0)).z;    float n2_w = (vec4(0.0, 0.0, 0.0, 0.0)).w;    fragColor = vec4(vec3(n2_x), 1.0);}

In a graph

Texture coordinates into the node, and the node into the material, as Studio draws them.