ProceduralUtil

Description

static class Tinman.Terrain.Procedural.ProceduralUtil

This class is a generator for three dimensional simplex based perlin noise.

Public / Methods

Compute​Cellular1


public static method ComputeCellular1 → (3)

in : float64

Input X-coordinate.

in : float64

Input Y-coordinate.

in : float64

Input Z-coordinate.

returns → float64

The noise value.

Computes a cellular noise value.

The noise value is the distance to the nearest feature point.

Compute​Cellular2


public static method ComputeCellular2 → (3)

in : float64

Input X-coordinate.

in : float64

Input Y-coordinate.

in : float64

Input Z-coordinate.

returns → Vec2D

The noise values.

Computes a cellular noise value.

The noise values are the distances to the two nearest feature points.

Compute​Cellular3


public static method ComputeCellular3 → (3)

in : float64

Input X-coordinate.

in : float64

Input Y-coordinate.

in : float64

Input Z-coordinate.

returns → Vec3D

The noise values.

Computes a cellular noise value.

The noise values are the distances to the three nearest feature points.

Compute​Cellular4


public static method ComputeCellular4 → (3)

in : float64

Input X-coordinate.

in : float64

Input Y-coordinate.

in : float64

Input Z-coordinate.

returns → Vec4D

The noise values.

Computes a cellular noise value.

The noise values are the distances to the four nearest feature points.

Compute​Perlin


[Pure]
public static method ComputePerlin → (3)

in : float64

Input X-coordinate.

in : float64

Input Y-coordinate.

in : float64

Input Z-coordinate.

returns → float64

The noise value.

Computes a simplex noise value for the given coordinates.

Compute​Perlin​Gradient


[Pure]
public static method ComputePerlinGradient → (3)

in : float64

Input X-coordinate.

in : float64

Input Y-coordinate.

in : float64

Input Z-coordinate.

returns → Vec3D

The gradient vector.

Computes the gradient vector of the simplex noise value at the given coordinates.