metaballField

metaballField

Metaball value field.

Parameters

  • Coord Type:
    • Auto:
    • 1D:
    • 2D:
    • 3D:
  • Center: Center position of the ball.
  • Radius: Radius of the ball on each axis. In 2D mode, only x and y are used. In 1D only x is used.
  • Radius Scale: Scales the radius on all axes.
  • Weight: The returned values are multiplied by this.
  • Exponent: Controls the shape of the ball by applying exponential scaling to coordinates.

Inputs

  • Coordinate Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Center Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Radius Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4
  • Weight Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float
  • Exponent Field: (optional)
    • Coordinate Types: float vec2 vec3 vec4
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext
    • Return Types: float vec4