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

crossSection

beta

Takes a 3D (or 2D) operator and take a cross section of it across a plane or a single axis.

Parameters

  • Enable:
  • Axes:
    • X:
    • Y:
    • Z:
    • XY:
    • YX:
    • YZ:
    • ZY:
    • XZ:
    • ZX:
  • Offset: Offsets the plane or axis where the input is sampled.

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