moduloLine
beta
filter
moduloLine
RayTK
v0.42
Repeats space along a line, similar to modulo1D
.
Similar to modulo1D
, this operator repeats space in a row of slices. But instead of being on an axis, it uses an arbitrary line defined by two points, with a fixed number of evenly spaced slices between them.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Point 1 | Runtime | Baked | |
Point 2 | Runtime | Baked | |
Divisions | Number of slices. | Runtime | Baked |
Mirror Type | Whether to flip alternating slices, which can be useful for ensuring that shapes line up with their neighbors if they get cut off. | Runtime | Baked |
|
Inputs
-
definition_in
: (required)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
Sdf
Volume
Ray
Light
Particle
- Supports Variables:
cellcoord
normcoord
- Coordinate Types:
Variables
-
Cell Index
: -
Normalized Cell Index
: