waveField
A field that uses a periodic wave.
If there is an input, that rop is used to get the coordinate that is fed into the wave function. Without an input, the Axis is used to run the wave function on the position along the selected axis.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Enable | |||
Wave | The type of wave. | Runtime | Baked |
| |||
Axis | Axis used for the wave function phase. If there is a coordinate field, this controls which part of the returned value is used. Otherwise it controls which part of the position in used. | Semi-Baked | Semi-Baked |
| |||
Coord Type | |||
| |||
Period | The length of a single cycle of the wave. | ||
Phase | Offset of the wave along the axis / coordinates. | ||
Amplitude | The height of the wave, which scales the range of output values. If this is set to 3 (and | Runtime | Baked |
Offset | Adds to the values produced by the wave. If this is set to 0.5 (and | Runtime | Baked |
Contexttype |
Inputs
-
Coordinate Field
: (optional) If attached, the wave will use this to determine the numbers that it passes to the wave function (instead of using the position along the chosen `Axis`).- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types:
-
Period Field
: (optional) If attached, the wave will use this field to multiply the `Period` parameter, which can be used for frequency modulation.- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
coordField
- Coordinate Types:
-
Phase Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
coordField
periodField
- Coordinate Types:
-
Wave Function
: (optional)- Coordinate Types:
float
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Supports Variables From Inputs:
coordField
periodField
phaseField
- Coordinate Types:
-
Amplitude Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
- Supports Variables From Inputs:
coordField
periodField
phaseField
waveFunc
- Coordinate Types: