Skip to content
PerduGames edited this page Dec 19, 2017 · 1 revision

API

ENUM_CONSTANT:

# NoiseTypes
  VALUE
  VALUE_FRACTAL
  PERLIN
  PERLIN_FRACTAL
  SIMPLEX
  SIMPLEX_FRACTAL
  WHITENOISE
  CELULAR
  CUBIC
  CUBIC_FRACTAL

# FractalTypes
  FBM
  BILLOW
  RIGIDMULTI

# CellularDistanceFunction
  EUCLIDEAN
  MANHATTAN
  NATURAL

# CellularReturnType
  CELLVALUE
  DISTANCE
  DISTANCE2
  DISTANCE2ADD
  DISTANCE2SUB
  DISTANCE2MUL
  DISTANCE2DIV
  NOISELOOKUP
  DISTANCE2CAVE

# PerturbType
  NONE
  GRADIENT
  GRADIENTFRACTAL
  NORMALISE
  GRADIENT_NORMALISE
  GRADIENTFRACTAL_NORMALISE

int getSIMDLevel(void)

void setSIMDLevel(int level)

int getSeed(void)

void setSeed(int seed)

void setFrequency(float frequency)

void setNoiseType(TypesNoise type)

void setAxisScales(float xScale, float yScale, float zScale)

PoolRealArray getNoiseSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getWhiteNoiseSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getValueSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getValueFractalSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getPerlinSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getPerlinFractalSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getSimplexSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getSimplexFractalSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getCellularSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getCubicSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

PoolRealArray getCubicFractalSet(int xStart, int yStart, int zStart, int xSize, int ySize, int zSize, float scaleModifier=1.0f)

void setFractalOctaves(int octaves)

void setFractalLacunarity(float lacunarity)

void setFractalGain(float gain)

void setFractalType(TypesFractal type)

void setCellularReturnType(ReturnTypeCellular type)

void setCellularDistanceFunction(DistanceFunctionCellular type)

void setCellularNoiseLookupType(TypesNoise type)

void setCellularNoiseLookupFrequency(float cellularNoiseLookupFrequency)

void setCellularDistance2Indicies(int cellularDistanceIndex0, int cellularDistanceIndex1)

void setCellularJitter(float cellularJitter)

void setPerturbType(TypePerturb type)

void setPerturbAmp(float perturbAmp)

void setPerturbFrequency(float perturbFrequency)

void setPerturbFractalOctaves(int perturbOctaves)

void setPerturbFractalLacunarity(float perturbLacunarity)

void setPerturbFractalGain(float perturbGain)

void setPerturbNormaliseLength(float perturbNormaliseLength)

Clone this wiki locally