extendFn

function
extendFn
RayTK
v0.40

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

Name Description Regular Handling Read-Only Handling
Enable
Extend Mode Baked Baked
  • Hold:
  • Cycle:
  • Mirror:
  • Default Value:
Range Runtime Baked
Default Value 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 Ray Light Particle