Chunks
Moddable voxel sandbox for room-scale VR.
|
Provides a color gradient. More...
Public Member Functions | |
Gradient (Color color) | |
Initializes a new instance of Gradient. More... | |
Gradient (Color start, Color end) | |
Initializes a new instance of Gradient. More... | |
void | Clear () |
Clears the gradient to transparent black. More... | |
void | Invert () |
Inverts the gradient. More... | |
Static Public Member Functions | |
static | Gradient () |
Initializes a new instance of Gradient. More... | |
Properties | |
Color | this[double position] [get, set] |
Gets or sets a gradient step by its position. More... | |
bool | IsInverted [get, set] |
Gets or sets a value whether the gradient is inverted. More... | |
static Gradient | Empty [get] |
Gets the empty instance of Gradient. More... | |
static Gradient | Grayscale [get] |
Gets the grayscale instance of Gradient. More... | |
static Gradient | Terrain [get] |
Gets the terrain instance of Gradient. More... | |
Provides a color gradient.
|
static |
Initializes a new instance of Gradient.
void LibNoise.Gradient.Clear | ( | ) |
Clears the gradient to transparent black.
void LibNoise.Gradient.Invert | ( | ) |
Inverts the gradient.
|
getset |
Gets or sets a value whether the gradient is inverted.
|
getset |
Gets or sets a gradient step by its position.
position | The position of the gradient step. |