# StackedPerlinNoise2

from pandac.PandaModules import StackedPerlinNoise2

Class : StackedPerlinNoise2
Description : Implements a multi-layer PerlinNoise, with one or more high-frequency noise functions added to a lower-frequency base noise function.

## Inheritance:

StackedPerlinNoise2:

## Methods of StackedPerlinNoise2:

addLevel
clear
noise
operator ()
operator =

addLevel void StackedPerlinNoise2::add_level(PerlinNoise2 const &level, double amp = (1)); Description: Adds an arbitrary PerlinNoise2 object, and an associated amplitude, to the stack.

clear void StackedPerlinNoise2::clear(void); Description: Removes all levels from the stack. You must call add_level() again to restore them.

noise double StackedPerlinNoise2::noise(double x, double y); Description: Returns the noise function of the three inputs.

operator () double StackedPerlinNoise2::operator ()(double x, double y); Description: Returns the noise function of the three inputs.

operator = void StackedPerlinNoise2::operator =(StackedPerlinNoise2 const &copy); Description: Creates an exact duplicate of the existing StackedPerlinNoise2 object, including the random seed.