modulo1D
- m1
- modulo
- repeat
Repeats space along one axis.
This has the effect of making infinite copies of (slices of) the input, but without the cost of having to separately calculate each copy.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Axis | The axis to repeat space along. | Runtime | Semi-Baked |
| |||
Size | The spacing of the repetition. This sets the with of the slice taken from the input. | Runtime | Baked |
Offset | Shifts where the input slice is taken from without moving the position of the repetitions. | Runtime | Baked |
Shift | Shifts the whole repeated space. | Runtime | Baked |
Mirror Type | How to the slices are varied. | Semi-Baked | Semi-Baked |
| |||
Use Limit | Whether to have a limited number of slices instead of an infinite series. | Semi-Baked | Semi-Baked |
Limit Start | The index of the first slice to show. This can also be a fractional value to cut off part of the first slice (though this can cause rendering issues). | ||
Limit Stop | THe index of the last slice to show. This can also be a fractional value to cut off part of the last slice (though this can cause rendering issues). | ||
Limit Offset | Offsets the | ||
Iteration Type | Whether and how to expose iteration values to upstream operators. | Semi-Baked | Semi-Baked |
| |||
Limit Type | Semi-Baked | Semi-Baked | |
|
Inputs
-
definition_in
: (required)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
Volume
Ray
Light
Particle
- Supports Variables:
cellcoord
normcoord
shiftedcellcoord
- Coordinate Types:
-
Size Field
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Coordinate Types:
-
Shift Field
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
sizeField
- Coordinate Types:
-
Offset Field
: (optional)- Coordinate Types:
float
vec2
vec3
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables:
cellcoord
normcoord
shiftedcellcoord
- Supports Variables From Inputs:
sizeField
shiftField
- Coordinate Types:
Variables
-
Cell Index
: -
Normalized Cell Index
: -
Shifted Cell Index
: