NoiseSimplexShader

ValueShader
public sealed class NoiseSimplexShader : ValueShader
Implements a simplex noise shader.

Constructors

NoiseSimplexShader

#
Create a new noise shader.
public NoiseSimplexShader(
waveLength,
Wave length
minimum,
Lowest noise value.
maximum
Highest noise value.
)

NoiseSimplexShader

#
Create a new noise shader.
public NoiseSimplexShader(
transform,
Two dimensional transform.
minimum = 0,
Lowest noise value.
maximum = 1
Highest noise value.
)

Methods

Dilate

Apply a dilation (or scaling) transformation to this shader.
public ValueShader Dilate(
sx,
Horizontal dilation.
sy
Vertical dilation.
)
inherited fromValueShader
Dilated shader.

Flip

Repeat and flip a value within a [0, limit] domain.
protected double Flip(
value,
limit
)
inherited fromValueShader

Flip

Repeat and flip a value within a [0, limit] domain.
protected float Flip(
value,
limit
)
inherited fromValueShader

Rotate

Apply a rotation transformation to this shader.
public ValueShader Rotate(
angle
Rotation angle (counter-clockwise).
)
inherited fromValueShader
Rotated shader.

Transform

Apply a custom transformation to this shader.
public ValueShader Transform(
transform
Transformation.
)
inherited fromValueShader
Transformed shader.

Translate

Apply a translation transformation to this shader.
public ValueShader Translate(
dx,
Horizontal translation.
dy
Vertical translation.
)
inherited fromValueShader
Translated shader.

ValueAt

#
Evaluate this shader at a specific ray location.
public override float ValueAt(
ray,
Coincident ray.
stack
Object stack context.
)