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

extendFn

beta

Defines the behavior of a function outside the normal expected range of coordinates.

This is similar to the Extend CHOP.

While primarily useful for 1D function operators, it also works for 2D and 3D operators, by applying the extend mode to each part of the coordinates.

Parameters

  • Enable:
  • Extend Mode:
    • Hold:
    • Cycle:
    • Mirror:
    • Default Value:
  • Range:
  • Default Value:

Inputs

  • definition_in: (required)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle