PHP Class pocketmine\level\generator\noise\Noise

Show file Open project: ClearSkyTeam/ClearSky Class Usage Examples

Protected Properties

Property Type Description
$expansion
$octaves
$offsetX
$offsetY
$offsetZ
$perm
$persistence

Public Methods

Method Description
bilinearLerp ( $x, $y, $q00, $q01, $q10, $q11, $x1, $x2, $y1, $y2 )
fade ( $x )
floor ( $x )
getNoise2D ( $x, $z )
getNoise3D ( $x, $y, $z )
grad ( $hash, $x, $y, $z )
lerp ( $x, $y, $z )
linearLerp ( $x, $x1, $x2, $q0, $q1 )
noise2D ( $x, $z, $normalized = false )
noise3D ( $x, $y, $z, $normalized = false )
setOffset ( $x, $y, $z )
trilinearLerp ( $x, $y, $z, $q000, $q001, $q010, $q011, $q100, $q101, $q110, $q111, $x1, $x2, $y1, $y2, $z1, $z2 )

Method Details

bilinearLerp() public static method

public static bilinearLerp ( $x, $y, $q00, $q01, $q10, $q11, $x1, $x2, $y1, $y2 )

fade() public static method

public static fade ( $x )

floor() public static method

public static floor ( $x )

getNoise2D() abstract public method

abstract public getNoise2D ( $x, $z )

getNoise3D() abstract public method

abstract public getNoise3D ( $x, $y, $z )

grad() public static method

public static grad ( $hash, $x, $y, $z )

lerp() public static method

public static lerp ( $x, $y, $z )

linearLerp() public static method

public static linearLerp ( $x, $x1, $x2, $q0, $q1 )

noise2D() public method

public noise2D ( $x, $z, $normalized = false )

noise3D() public method

public noise3D ( $x, $y, $z, $normalized = false )

setOffset() public method

public setOffset ( $x, $y, $z )

trilinearLerp() public static method

public static trilinearLerp ( $x, $y, $z, $q000, $q001, $q010, $q011, $q100, $q101, $q110, $q111, $x1, $x2, $y1, $y2, $z1, $z2 )

Property Details

$expansion protected property

protected $expansion

$octaves protected property

protected $octaves

$offsetX protected property

protected $offsetX

$offsetY protected property

protected $offsetY

$offsetZ protected property

protected $offsetZ

$perm protected property

protected $perm

$persistence protected property

protected $persistence