Empeld
Empeld plugin documentation.
|
Base class to build a system of complex, deferred, equations Mostly to help with construction of worlds More...
Public Member Functions | |
ValuePoint3D | Mix (ValuePoint3D with, float sourceOpacity) |
Mix this value with another one at a certain ratio More... | |
ValuePoint3D | Lighten (ValuePoint3D with) |
Lighten this value by another one More... | |
ValuePoint3D | Darken (ValuePoint3D with) |
Darken this value by another one More... | |
ValuePoint3D | CustomCombine (ValuePoint3D with, Combiner3D.CombinerOperator func) |
Combine two values using a custom combiner More... | |
ValuePoint3D | CustomManipulator (Manip3D.ManipOperator func) |
Manipulate this value with a custom manipulator More... | |
ValuePoint3D | Abs () |
Absolute value More... | |
ValuePoint3D | Invert () |
Invert the value from a 0-1 range More... | |
ValuePoint3D | Brightness (float amount) |
Adjust brightness. Takes in -1 to 1f More... | |
ValuePoint3D | Contrast (float amount) |
Adjusts contract from -1 to 1 More... | |
ValuePoint3D | Scale (float factor) |
Scale the specified factor and clamp More... | |
ValuePoint3D | LinearBounds (float min, float max) |
Linearly interpolates to squish between the bounds More... | |
ValuePoint3D | Threshold (float threshold) |
Threshold the specified threshold. Returns 0 if below, otherwise 1f More... | |
ValuePoint3D | Gamma (float gamma) |
Gamma the specified gamma. Range 0f - 2f More... | |
ValuePoint3D | Clamp () |
Clamp this value between 0 and 1 More... | |
ValuePoint3D | Clamp (float min, float max) |
Clamp this value between a min and max More... | |
abstract float | GetValue (int x, int y, int z) |
Get number from 0-1 More... | |
abstract float | GetValue (int x, int y) |
Get a value at a given x,y coordinate More... | |
Static Public Member Functions | |
static ValuePoint3D | operator+ (ValuePoint3D a, ValuePoint3D b) |
Add two value points together More... | |
static ValuePoint3D | operator- (ValuePoint3D a, ValuePoint3D b) |
Subtract two value points More... | |
static ValuePoint3D | operator* (ValuePoint3D a, ValuePoint3D b) |
Multiply two value points More... | |
static ValuePoint3D | operator/ (ValuePoint3D a, ValuePoint3D b) |
Divide one value by another More... | |
Base class to build a system of complex, deferred, equations Mostly to help with construction of worlds
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Abs | ( | ) |
Absolute value
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Brightness | ( | float | amount | ) |
Adjust brightness. Takes in -1 to 1f
amount | Amount. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Clamp | ( | ) |
Clamp this value between 0 and 1
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Clamp | ( | float | min, |
float | max | ||
) |
Clamp this value between a min and max
min | Minimum. |
max | Max. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Contrast | ( | float | amount | ) |
Adjusts contract from -1 to 1
amount | Amount. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.CustomCombine | ( | ValuePoint3D | with, |
Combiner3D.CombinerOperator | func | ||
) |
Combine two values using a custom combiner
with | With. |
func | Func. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.CustomManipulator | ( | Manip3D.ManipOperator | func | ) |
Manipulate this value with a custom manipulator
func | Func. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Darken | ( | ValuePoint3D | with | ) |
Darken this value by another one
with | With. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Gamma | ( | float | gamma | ) |
Gamma the specified gamma. Range 0f - 2f
gamma | Gamma. |
|
pure virtual |
Get number from 0-1
x | A System.Int32 |
y | A System.Int32 |
z | A System.Int32 |
Implemented in pluginbase.Helpers.Computative.Algorithms.Simplex, pluginbase.Helpers.Computative.Random.Random3D, pluginbase.Helpers.Computative.Algorithms.CellNoise, pluginbase.Helpers.Computative.Algorithms.Perlin, pluginbase.Helpers.Computative.Algorithms.SmoothPerlin, pluginbase.Helpers.Computative.Algorithms.Noise, pluginbase.Helpers.Computative.Combiners.Combiner3D, pluginbase.Helpers.Computative.Combiners.ScalarValue, and pluginbase.Helpers.Computative.Combiners.Manip3D.
|
pure virtual |
Get a value at a given x,y coordinate
x | The x coordinate. |
y | The y coordinate. |
Implemented in pluginbase.Helpers.Computative.Algorithms.Simplex, pluginbase.Helpers.Computative.Random.Random3D, pluginbase.Helpers.Computative.Algorithms.Perlin, pluginbase.Helpers.Computative.Algorithms.SmoothPerlin, pluginbase.Helpers.Computative.Algorithms.Noise, pluginbase.Helpers.Computative.Algorithms.CellNoise, pluginbase.Helpers.Computative.Combiners.Combiner3D, pluginbase.Helpers.Computative.Combiners.ScalarValue, and pluginbase.Helpers.Computative.Combiners.Manip3D.
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Invert | ( | ) |
Invert the value from a 0-1 range
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Lighten | ( | ValuePoint3D | with | ) |
Lighten this value by another one
with | With. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.LinearBounds | ( | float | min, |
float | max | ||
) |
Linearly interpolates to squish between the bounds
min | Minimum. |
max | Max. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Mix | ( | ValuePoint3D | with, |
float | sourceOpacity | ||
) |
Mix this value with another one at a certain ratio
with | With. |
sourceOpacity | Source opacity. |
|
static |
Multiply two value points
|
static |
Add two value points together
|
static |
Subtract two value points
|
static |
Divide one value by another
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Scale | ( | float | factor | ) |
Scale the specified factor and clamp
factor | Factor. |
ValuePoint3D pluginbase.Helpers.Computative.ValuePoint3D.Threshold | ( | float | threshold | ) |
Threshold the specified threshold. Returns 0 if below, otherwise 1f
threshold | Threshold. |