Type alias NoiseFunction4D

NoiseFunction4D: ((x: number, y: number, z: number, w: number) => number)

Type declaration

    • (x: number, y: number, z: number, w: number): number
    • Samples the noise field in four dimensions

      Coordinates should be finite, bigger than -2^31 and smaller than 2^31.

      Returns

      a number in the interval [-1, 1]

      Parameters

      • x: number
      • y: number
      • z: number
      • w: number

      Returns number

Generated using TypeDoc