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

reorderCoords

Swaps axes for the input.

Parameters

  • Enable:
  • X Axis: Which axis should be used as the new X axis.
    • X:
    • Y:
    • Z:
    • Zero:
  • Y Axis: Which axis should be used as the new Y axis.
    • X:
    • Y:
    • Z:
    • Zero:
  • Z Axis: Which axis should be used as the new Z axis.
    • X:
    • Y:
    • Z:
    • Zero:

Inputs

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