Noise:setInterp: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
Line 4: Line 4:


=== Description ===
=== Description ===
Changes the interpolation method used to smooth between noise values. Default = Quintic.
Changes the interpolation method used to smooth between noise values. Default = Noise.QUINTIC.
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
Noise:setInterp(interpolation)
Noise:setInterp(interpolation)
Line 10: Line 10:


Possible interpolation methods (lowest to highest quality):
Possible interpolation methods (lowest to highest quality):
*'''Linear'''
*'''Noise.LINEAR'''
*'''Hermite'''
*'''Noise.HERMITE'''
*'''Quintic'''
*'''Noise.QUINTIC'''
Used in ''Value'', ''Perlin Noise'' and ''Position Warping''.
Used in ''Value'', ''Perlin Noise'' and ''Position Warping''.



Latest revision as of 17:53, 29 July 2025