PocketMine-MP  1.4 - API 1.10.0
 All Classes Namespaces Functions Variables Pages
pocketmine\level\generator\noise\Generator Class Reference
+ Inheritance diagram for pocketmine\level\generator\noise\Generator:
+ Collaboration diagram for pocketmine\level\generator\noise\Generator:

Public Member Functions

 getNoise2D ($x, $z)
 
 getNoise3D ($x, $y, $z)
 
 noise2D ($x, $z, $normalized=false)
 
 noise3D ($x, $y, $z, $normalized=false)
 
 setOffset ($x, $y, $z)
 

Static Public Member Functions

static floor ($x)
 
static fade ($x)
 
static lerp ($x, $y, $z)
 
static grad ($hash, $x, $y, $z)
 

Protected Attributes

 $perm = []
 
 $offsetX = 0
 
 $offsetY = 0
 
 $offsetZ = 0
 
 $octaves = 8
 
 $frequency
 
 $amplitude
 

Detailed Description

Definition at line 31 of file noise/Generator.php.


The documentation for this class was generated from the following file: