Noise:setInterp

From GiderosMobile
Revision as of 14:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2019.12
Class: Noise

Description

Changes the interpolation method used to smooth between noise values.
Possible interpolation methods (lowest to highest quality):

  • Linear
  • Hermite
  • Quintic

Used in Value, Perlin Noise and Position Warping.
Default: Quintic

Noise:setInterp(interpolation)

Parameters

interpolation: (number) integer interpolation value