sm.noise.octaveNoise2d
An octave noise 2d function.
Kind: Function
Environments: Game, Terrain
Game
sm.noise.octaveNoise2d( x, y, octaves, seed )
Parameters:
| Name | Type | Description |
|---|---|---|
x |
number | The X value. |
y |
number | The Y value. |
octaves |
integer | The octaves. |
seed |
integer | The seed. |
Returns:
| Type | Description |
|---|---|
| number | The noise value. |
Terrain
sm.noise.octaveNoise2d( x, y, octaves, seed )
Open the full Terrain reference
Parameters:
| Name | Type | Description |
|---|---|---|
x |
number | The X value. |
y |
number | The Y value. |
octaves |
integer | The octaves. |
seed |
integer | The seed. |
Returns:
| Type | Description |
|---|---|
| number | The noise value. |