StackedPerlinNoise2
from panda3d.core import StackedPerlinNoise2
- class StackedPerlinNoise2
Bases:
DTOOL_SUPER_BASE
Implements a multi-layer PerlinNoise, with one or more high-frequency noise functions added to a lower-frequency base noise function.
Inheritance diagram
- __init__(*args, **kwargs)
- addLevel()
C++ Interface: add_level(const StackedPerlinNoise2 self, const PerlinNoise2 level, double amp)
- /**
Adds an arbitrary PerlinNoise2 object, and an associated amplitude, to the
stack.
*/
- add_level()
C++ Interface: add_level(const StackedPerlinNoise2 self, const PerlinNoise2 level, double amp)
- /**
Adds an arbitrary PerlinNoise2 object, and an associated amplitude, to the
stack.
*/
- assign()
C++ Interface: assign(const StackedPerlinNoise2 self, const StackedPerlinNoise2 copy)
- clear()
C++ Interface: clear(const StackedPerlinNoise2 self)
- /**
Removes all levels from the stack. You must call add_level() again to
restore them.
*/
- noise()
C++ Interface: noise(const StackedPerlinNoise2 self, const LVecBase2d value) noise(const StackedPerlinNoise2 self, const LVecBase2f value) noise(const StackedPerlinNoise2 self, double x, double y)