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

sweep

Creates a 3D SDF by sweeping a 2D SDF along the surface of another 2D SDF.

Parameters

  • Plane:
    • XY:
    • YX:
    • YZ:
    • ZY:
    • XZ:
    • ZX:
  • Enable:

Inputs

  • Cross-Section SDF: (required) The SDF that sweeps around the path SDF.
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf
  • Path SDF: (required) The SDF around which the cross-section SDF sweeps.
    • Coordinate Types: vec2
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float Sdf

Variables

  • pathsdf:
  • pathpos: