coordTo2D

convert
coordTo2D
RayTK
v0.40

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

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Mode Baked Baked
  • Custom:
  • XY Plane:
  • YX Plane:
  • YZ Plane:
  • ZY Plane:
  • XZ Plane:
  • ZX Plane:
Plane Offset Runtime Baked
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 VertexContext PixelContext
    • Return Types: float vec4 Sdf Ray Light Particle