跳到主要内容

set_seed

设置噪声生成种子

  • Perline seed:

    • The seed value used by the Perlin-noise function
  • Turbulence seed:

    • The seed value of the internal noise modules that are used to isplace the input values.
  • Voronoi seed:

    • The seed value used by the Voronoi cells

声明

void set_seed(int seed)

参数

参数名描述
seed种子,用于改变相干噪声函数输出的值,但是不会改变函数的频率和振幅

返回值

void

使用方式

返回文档