crossSection

convert
crossSection
RayTK
v0.40

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

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Axes Runtime Semi-Baked
  • X:
  • Y:
  • Z:
  • XY:
  • YX:
  • YZ:
  • ZY:
  • XZ:
  • ZX:
Offset

Offsets the plane or axis where the input is sampled.

Runtime Baked

Inputs

  • Input: (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: offsetField
  • Offset Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: vec4