Noise:setInterp

From GiderosMobile
Revision as of 07:13, 25 March 2020 by MoKaLux (talk | contribs) (Created page with "__NOTOC__ '''<translate>Available since</translate>:''' Gideros 2019.12<br/> '''<translate>Class</translate>:''' Noise<br/> === Description === C...")
(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