Class PerlinSampler
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
[Serializable]
public class PerlinSampler
- Inheritance
-
PerlinSampler
- Inherited Members
- Extension Methods
Constructors
PerlinSampler()
public PerlinSampler()
Fields
iterations
public int iterations
Field Value
minMax
public Vector2 minMax
Field Value
pow
public float pow
Field Value
roughness
public float roughness
Field Value
scale
public float scale
Field Value
scaleIncrease
public float scaleIncrease
Field Value
Methods
Sample(Vector2, int)
public bool Sample(Vector2 pos, int seed = 0)
Parameters
Returns
SampleValue(Vector2, int)
public float SampleValue(Vector2 pos, int seed = 0)