crossSection

convert
crossSection
RayTK
v0.36

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

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