extend

extend

Keywords:
  • extend
  • stretch

Clamps coordinates around an SDF result, which causes their edges to be extended infinitely along each axis.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Center

The center position around which the coordinates are clamped.

Runtime Baked
Size

The size of the region outside which the coordinates are clamped. Within this area, the SDF will behave as it normally does.

Runtime Baked
Axes Runtime Baked
  • X:
  • Y:
  • Z:
  • XY:
  • YZ:
  • XZ:
  • XYZ:

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
    • Supports Variables From Inputs: sizeField centerField
  • Size Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
  • Center Field: (optional)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4
    • Supports Variables From Inputs: sizeField