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

cartesianToPolar

Convert from cartesian space to various types of polar spaces.

Parameters

  • Enable:
  • Conversion:
    • Spherical:
    • Cylindrical X:
    • Cylindrical Y:
    • Cylindrical Z:
    • Log-Cylindrical X:
    • Log-Cylindrical Y:
    • Log-Cylindrical Z:
  • Angle Unit:
    • Ratio (0..1):
    • Degrees:
    • Radians:

Inputs

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