coordTo2D

convert
coordTo2D
RayTK
v0.36

Converts a 3D (or 1D) operator to work in a 2D plane on the chosen axes.

Parameters

  • Enable:
  • Mode:
    • Custom:
    • XY Plane:
    • YX Plane:
    • YZ Plane:
    • ZY Plane:
    • XZ Plane:
    • ZX Plane:
  • Plane Offset:
  • Part X:
    • X:
    • Y:
    • Zero:
  • Part Y:
    • X:
    • Y:
    • Zero:
  • Part Z:
    • X:
    • Y:
    • Zero:

Inputs

  • 1D / 3D Input: (required)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4 Sdf Ray Light Particle