Difference between revisions of "Noise:noise"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2019.12<br/> | |
− | ''' | + | '''Class:''' [[Noise]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Gets the 1D/2D/3D noise value. | |
− | + | <syntaxhighlight lang="lua"> | |
− | |||
− | < | ||
(number) = Noise:noise([x, y, z]) | (number) = Noise:noise([x, y, z]) | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | '''x''': (number, default = 0 | + | === Parameters === |
− | '''y''': (number, default = 0 | + | '''x''': (number) x value, '''default=0'''<br/> |
− | '''z''': (number, default = 0 | + | '''y''': (number) y value, '''default=0'''<br/> |
− | === | + | '''z''': (number) z value, '''default=0'''<br/> |
− | ''' | + | |
+ | === Return values === | ||
+ | '''Returns''' noise value from -1.0 to 1.0<br/> | ||
{{Noise}} | {{Noise}} |
Latest revision as of 14:31, 13 July 2023
Available since: Gideros 2019.12
Class: Noise
Description
Gets the 1D/2D/3D noise value.
(number) = Noise:noise([x, y, z])
Parameters
x: (number) x value, default=0
y: (number) y value, default=0
z: (number) z value, default=0
Return values
Returns noise value from -1.0 to 1.0
- Noise:getCellularDistanceFunction
- Noise:getCellularJitter
- Noise:getCellularNoiseLookup
- Noise:getCellularReturnType
- Noise:getFractalGain
- Noise:getFractalLacunarity
- Noise:getFractalOctaves
- Noise:getFractalType
- Noise:getFrequency
- Noise:getGradientPerturbAmp
- Noise:getInterp
- Noise:getNoiseType
- Noise:getSeed
- Noise:getTexture
- Noise:getTileTexture
- Noise:gradientPerturb2D
- Noise:gradientPerturb3D
- Noise:gradientPerturbFractal2D
- Noise:gradientPerturbFractal3D
- Noise:noise
- Noise:noise2D
- Noise:noise3D
- Noise:reset
- Noise:setCellularDistance2Indices
- Noise:setCellularDistanceFunction
- Noise:setCellularJitter
- Noise:setCellularNoiseLookup
- Noise:setCellularReturnType
- Noise:setColorLookup
- Noise:setFractalGain
- Noise:setFractalLacunarity
- Noise:setFractalOctaves
- Noise:setFractalType
- Noise:setFrequency
- Noise:setGradientPerturbAmp
- Noise:setInterp
- Noise:setNoiseType
- Noise:setSeed
- Noise:simplex4D
- Noise:whiteNoise2DInt
- Noise:whiteNoise3DInt
- Noise:whiteNoise4D
- Noise:whiteNoise4DInt
- Noise.BILLOW
- Noise.CELLULAR
- Noise.CELL VALUE
- Noise.CUBIC
- Noise.CUBIC FRACTAL
- Noise.DISTANCE
- Noise.DISTANCE 2
- Noise.DISTANCE 2 ADD
- Noise.DISTANCE 2 DIV
- Noise.DISTANCE 2 MUL
- Noise.DISTANCE 2 SUB
- Noise.EUCLIDEAN
- Noise.FBM
- Noise.HERMITE
- Noise.LINEAR
- Noise.MANHATTAN
- Noise.NATURAL
- Noise.NOISE LOOKUP
- Noise.PERLIN
- Noise.PERLIN FRACTAL
- Noise.QUINTIC
- Noise.RIGID MULTI
- Noise.SIMPLEX
- Noise.SIMPLEX FRACTAL
- Noise.VALUE
- Noise.VALUE FRACTAL
- Noise.WHITE NOISE
- Noise.new