instanceField
filter
instanceField
RayTK
v0.42
Repeats an input field multiple times and combines the results.
Note that this multiplies the work of the input once per instance.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Instance Count | The number of copies to produce and merge. | Runtime | Baked |
Operation | How the field values should be combined. | Runtime | Semi-Baked |
| |||
Swap Order | Swaps the two inputs. This is only relevant for some of the | Runtime | Semi-Baked |
Inputs
-
Field
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables:
index
normindex
- Coordinate Types:
Variables
-
Index
: -
Normalized Index (0..1)
: