HPL3/Amnesia: Rebirth/Scripting/Scripting Api/cGenerate

From Frictional Wiki
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Summary

Return Type Function and Description
float cGenerate_FractalNoise1D(float afX, const cFractalNoiseParams &in aParams)
float cGenerate_FractalNoise2D(const cVector2f &in avPos, const cFractalNoiseParams &in aParams)
float cGenerate_FractalNoise3D(const cVector3f &in avPos, const cFractalNoiseParams &in aParams)
float cGenerate_GetNoiseCosine1D(float afX)
float cGenerate_GetNoiseCosine2D(const cVector2f &in avPos)
float cGenerate_GetNoiseCubic1D(float afX)
float cGenerate_GetNoiseCubic2D(const cVector2f &in avPos)
float cGenerate_GetNoisePerlin1D(float afX)
float cGenerate_GetNoisePerlin2D(const cVector2f &in avPos)
float cGenerate_GetNoisePerlin3D(const cVector3f &in avPos)

Function Detail

cGenerate_FractalNoise1D

float cGenerate_FractalNoise1D(float afX,
                               const cFractalNoiseParams &in aParams)


Parameters

Returns:

  • float

cGenerate_FractalNoise2D

float cGenerate_FractalNoise2D(const cVector2f &in avPos,
                               const cFractalNoiseParams &in aParams)


Parameters

Returns:

  • float

cGenerate_FractalNoise3D

float cGenerate_FractalNoise3D(const cVector3f &in avPos,
                               const cFractalNoiseParams &in aParams)


Parameters

Returns:

  • float

cGenerate_GetNoiseCosine1D

float cGenerate_GetNoiseCosine1D(float afX)


Parameters

  • afX (float) —

Returns:

  • float

cGenerate_GetNoiseCosine2D

float cGenerate_GetNoiseCosine2D(const cVector2f &in avPos)


Parameters

Returns:

  • float

cGenerate_GetNoiseCubic1D

float cGenerate_GetNoiseCubic1D(float afX)


Parameters

  • afX (float) —

Returns:

  • float

cGenerate_GetNoiseCubic2D

float cGenerate_GetNoiseCubic2D(const cVector2f &in avPos)


Parameters

Returns:

  • float

cGenerate_GetNoisePerlin1D

float cGenerate_GetNoisePerlin1D(float afX)


Parameters

  • afX (float) —

Returns:

  • float

cGenerate_GetNoisePerlin2D

float cGenerate_GetNoisePerlin2D(const cVector2f &in avPos)


Parameters

Returns:

  • float

cGenerate_GetNoisePerlin3D

float cGenerate_GetNoisePerlin3D(const cVector3f &in avPos)


Parameters

Returns:

  • float