# PerlinNoise2

from pandac.PandaModules import PerlinNoise2

Class : PerlinNoise2
Description : This class provides an implementation of Perlin noise for 2 variables. This code is loosely based on the reference implementation at http://mrl.nyu.edu/~perlin/noise/ .

## Inheritance:

PerlinNoise2: PerlinNoise
PerlinNoise:

## Methods of PerlinNoise2:

noise
operator ()
operator =
setScale

## Methods of PerlinNoise:

getSeed

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

operator () double PerlinNoise2::operator ()(double x, double y) const; Description: Returns the noise function of the two inputs.

operator = void PerlinNoise2::operator =(PerlinNoise2 const &copy); Description: Makes an exact copy of the existing PerlinNoise object, including its random seed.

setScale void PerlinNoise2::set_scale(double scale); Description: Changes the scale (frequency) of the noise.

getSeed unsigned long int PerlinNoise::get_seed(void); Description: Returns a unique seed value based on the seed value passed to this PerlinNoise object (and on its current state).