Skip to main content Link Menu Expand (external link) Document Search Copy Copied
axisDistanceField

axisDistanceField

A float field that provides the distance from a specific point along a single axis.

Parameters

  • Axis:
    • X:
    • Y:
    • Z:
  • Center: The position along the axis from which the distance is calculated.
  • Coord Type:
    • Auto:
    • 1D:
    • 2D:
    • 3D:

Inputs

  • Coord Field: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4