- Preparing search index...
- The search index is not available
feng3d
Constructors
constructor
- new Noise(seed?: number): Noise
-
Properties
Private
_p
_p: number[] = []
Private
_seed
_seed: number = 0
Accessors
seed
- get seed(): number
-
Returns number
- set seed(v: number): void
-
Returns void
Methods
perlin1
- perlin1(x: number): number
-
Returns number
perlin2
- perlin2(x: number, y: number): number
-
Returns number
perlin3
- perlin3(x: number, y: number, z: number): number
-
Parameters
-
x: number
-
y: number
-
z: number
Returns number
perlinN
- perlinN(...ps: number[]): number
-
Returns number
柏林噪音
用于生产随机的噪音贴图
See