mergeFields
Merges multiple vector fields, using different fields for each vector part.
This is similar to the Reorder TOP. Each of the 4 vector parts (xyzw) has its own source setting specifying which input its value comes from.
Inputs can either be float fields, or vector fields. If they are vector fields, then the corresponding part of that vector is used when creating the output. For example, if input 3 is a vector field, and Source Z
is set to Input 3
, the z
in the result will be input1.z
.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
X Source | Baked | Baked | |
| |||
Y Source | Baked | Baked | |
| |||
Z Source | Baked | Baked | |
| |||
W Source | Baked | Baked | |
|
Inputs
-
Field 1
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Field 2
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Field 3
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Field 4
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types: