Table of Contents

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

int

minMax

public Vector2 minMax

Field Value

Vector2

pow

public float pow

Field Value

float

roughness

public float roughness

Field Value

float

scale

public float scale

Field Value

float

scaleIncrease

public float scaleIncrease

Field Value

float

Methods

Sample(Vector2, int)

public bool Sample(Vector2 pos, int seed = 0)

Parameters

pos Vector2
seed int

Returns

bool

SampleValue(Vector2, int)

public float SampleValue(Vector2 pos, int seed = 0)

Parameters

pos Vector2
seed int

Returns

float