![axisDistanceField](/raytk/assets/images/reference/operators/field/axisDistanceField_thumb.png)
axisDistanceField
field
axisDistanceField
RayTK
v0.42
A float field that provides the distance from a specific point along a single axis.
Parameters
Name | Description | Regular Handling | Read-Only Handling |
---|---|---|---|
Axis | Semi-Baked | Semi-Baked | |
| |||
Center | The position along the axis from which the distance is calculated. | Runtime | Baked |
Coord Type | |||
|
Inputs
-
Coord Field
: (optional)- Coordinate Types:
float
vec2
vec3
vec4
- Context Types:
Context
MaterialContext
CameraContext
LightContext
RayContext
ParticleContext
VertexContext
PixelContext
- Return Types:
float
vec4
- Coordinate Types: